lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: List of files that Lucene 4.0 generates during indexing
Date Thu, 24 Jan 2013 21:54:30 GMT
4.0 has a hybrid approach by default: "big" segments (> 10% of index size,
by default) are non-compound-files and small segments are compound files.

See TieredMergePolicy.setNoCFSRatio if you want to always use compound file
format.

Mike McCandless

http://blog.mikemccandless.com


On Thu, Jan 24, 2013 at 4:39 PM, saisantoshi <saisantoshi76@gmail.com>wrote:

> Thanks Michael. The additional file in the list is just a typo.
>
> One more question is, we were using 2.4 before, and it only generated few
> files
>
> _0.cfs
> _0.cfx
> // segment files
>
> I am assuming that the 2.4 version has the compound index structure enabled
> by default. Do we need to set it explicitly with 4.0 version. Is it not
> enabled by default? 4.0 seems to be using the multifile index structure. Is
> there any change in the behavior with the latest version.
>
> Thanks,
> Sai.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/List-of-files-that-Lucene-4-0-generates-during-indexing-tp4035993p4036075.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message