Thanks Shawn, Tri for your infos, explanation. Tien
On Mon, Feb 17, 2014 at 1:36 PM, Tri Cao <tm...@me.com> wrote: > Lucene main file formats actually don't change a lot in 4.x (or even 5.x), > and the newer codecs just delegate to previous versions for most file > types. The newer file types don't typically include Lucene's version in > file names. > > For example, Lucene 4.6 codes basically delegate stored fields and term > vector file format to 4.1, doc format to 4.0, etc. and only implement the > new segment info/fields info formats (the .si and .fnm files). > > > https://github.com/apache/lucene-solr/blob/lucene_solr_4_6/lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46Codec.java#L50 > > Hope this helps, > Tri > > > On Feb 16, 2014, at 08:52 PM, Shawn Heisey <s...@elyograg.org> wrote: > > On 2/16/2014 7:25 PM, Nguyen Manh Tien wrote: > > I upgraded recently from solr 4.0 to solr 4.6, > > I check solr index folder and found there file > > _aars_*Lucene41*_0.doc > > _aars_*Lucene41*_0.pos > > _aars_*Lucene41*_0.tim > > _aars_*Lucene41*_0.tip > > I don't know why it don't have *Lucene46* in file name. > > > This is an indication that this part of the index is using a file format > introduced in Lucene 4.1. > > Here's what I have for one of my index segments on a Solr 4.6.1 server: > > _5s7_2h.del > _5s7.fdt > _5s7.fdx > _5s7.fnm > _5s7_Lucene41_0.doc > _5s7_Lucene41_0.pos > _5s7_Lucene41_0.tim > _5s7_Lucene41_0.tip > _5s7_Lucene45_0.dvd > _5s7_Lucene45_0.dvm > _5s7.nvd > _5s7.nvm > _5s7.si > _5s7.tvd > _5s7.tvx > > It shows the same pieces as your list, but I am also using docValues in > my index, and those files indicate that they are using the format from > Lucene 4.5. I'm not sure why there are not version numbers in *all* of > the file extensions -- that happens in the Lucene layer, which is a bit > of a mystery to me. > > Thanks, > Shawn > >