lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <>
Subject Re: weird multifile problems
Date Fri, 06 Apr 2012 09:23:11 GMT
Hey, do you get multiple files per segment or multiple files per index?
The compoundfile system writes a .cfs file (and a .cfe file in trunk)
per segment. So if you are seeing multiple .cfs fiels Lucene is
actually doing what you want. If there are files like .fdt/fdx or
tii/tis then the segment is not using CFS. Yet, if you see multiple
CFS files then you have an index with more than one segment. Those
segments are written during indexing and merged together as the number
of segments grows which is just fine.

hope that helps.


On Fri, Apr 6, 2012 at 7:54 AM, Chengcheng Zhao <> wrote:
> Hi guys,
> I am still learning Lucene, and I had a very weird problem yesterday that no
> matter what I did, I always got multifiles not compound file. By default,
> Lucene use compound file, but I just got this weird problem, even if I used
> setUseCompoundFile(true) explicitly... And my code is actually adapted from
> the book Lucene In Action 2ed and the demo code in How
> can I fix this?
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message