In general, no. I think there are index format changes between 1.4.1 and 4.0.

If the two versions of Solr have the exact same index formats, it would theoretically work, but you'd need to figure that out and be sure of it, any two arbitrary versions of Solr/lucene may or may not have the exact same index formats. _Maybe_ 4.0 can read a 1.4.1 index. In some cases I think it's supposed to be able to. But it all starts getting confusing and with edge cases where things don't quite work, I personally wouldn't try it.

But personally, I don't like the idea of having two running instances of Solr using the exact same on-disk index anyway. I know people do it, you aren't alone, but it makes me nervous, seems like asking for trouble. When the indexing instances writes new indexes, when and how is the read-only Solr going to figure that out and load new searchers for it? It just gets confusing and complicated.



On 3/3/2011 2:03 PM, Ofer Fort wrote:
Hey all,
I have a master slave using the same index folder, the master only writes,
and the slave only reads.
Is it possible to use different versions of solr for those two servers?
Let's say i want to gain from the improved search speed of solr4.0 but since
it's my production system, am not willing to index using it since it's not a
stable release.
Since the slave only reads, if it will crash i'll just restart it.

Can i index using solr 1.4.1 and read the same index with solr 4.0?

thanks

Reply via email to