$conf['apachesolr_read_only'] = TRUE;
define('APACHESOLR_READ_ONLY', 1);

I've tried both these, but it seems to have no impact on auto disabling the ability to write.

Thanks!

Comments

couloir007’s picture

In D6 I was able to disable indexing in the settings.php file. This is not the case in D7. Any suggestions?

joelstein’s picture

Issue summary: View changes

You can do something like this:

$conf['apachesolr_environments']['acquia_search_server_1']['conf']['apachesolr_read_only'] = TRUE;
nick_vh’s picture

Status: Active » Closed (works as designed)

Correct. That's the new way to do it :)

Thanks for your contribution. It's very much appreciated and I hope you continue to contribute to our issue queue. We can use all the help we can get.