Mukesh Katariya
Mukesh Katariya

Reputation: 31

Portability of Solr index

I have built a SOLR Index on Windows 7 Enterprise, 64 Bit. I copy the index to Centos release 6.2, 32 Bit OS.

The index is readable and the application is able to load data from the index on Linux. But there are a few fields on which FQ Queries dont work on Linux , but same FQ Query work on windows.

I have a situation where in i have to prepare index on windows and port it on Linux. I need the index to be portable.

The only thing which is not working is the FQ Queries.

Thanks Mukesh

Upvotes: 0

Views: 136

Answers (2)

Mukesh Katariya
Mukesh Katariya

Reputation: 31

The mismatch of bytes in term comparision was due to Base64 encoding/decoding which was done using System dependent JRE.

Switch to Apache Codec which is base64 system independent base64 encoder/decoder.

Upvotes: 0

Alexandre Rafalovitch
Alexandre Rafalovitch

Reputation: 9789

The index should be portable. Have you ensured that you committed all the changes. Also, I would check your schema.xml and solrconfig.xml files. Are they configured identically?

Upvotes: 1

Related Questions