On 3/25/2013 10:59 AM, Mario Casola wrote:
I noticed that apache solr 4.2 uses the lucene codec 4.1. How can I
switch to 4.2?

The index format did not change significantly enough to warrant new filenames. The only significant change I'm actually aware of is that now termvectors are compressed. It's possible that aside from the compression, the format hasn't changed at all. Someone with greater knowledge will have to confirm or deny that.

If you turn on docValues in your schema, the specific index files for that piece of the index do have a Lucene42 filename. This is a new feature - it did not exist in Solr before 4.2.

Here is a listing of the filenames in one index segment from a 4.3 snapshot version:

_ql2.fdt
_ql2.fdx
_ql2.fnm
_ql2_Lucene41_0.doc
_ql2_Lucene41_0.pos
_ql2_Lucene41_0.tim
_ql2_Lucene41_0.tip
_ql2_Lucene42_0.dvd
_ql2_Lucene42_0.dvm
_ql2.nvd
_ql2.nvm
_ql2.si
_ql2.tvd
_ql2.tvx

Thanks,
Shawn

Reply via email to