RE: weird multifile problems

2012-04-06 Thread Uwe Schindler
> To enforce creation of CFS files, you have to set the CFS percentage to 100% > (1.0) in the MergePolicy: http://goo.gl/X9pF3, http://goo.gl/QFKGf By default > Lucene only created CFS files, if the segment size is larger than 10% of the > whole index. Sorry, other way round of course. Large segme

RE: weird multifile problems

2012-04-06 Thread Uwe Schindler
-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Simon Willnauer [mailto:simon.willna...@googlemail.com] > Sent: Friday, April 06, 2012 11:23 AM > To: java-user@lucene.apache.org > Subject: Re: weird multifile problems > > Hey

Re: weird multifile problems

2012-04-06 Thread Simon Willnauer
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

weird multifile problems

2012-04-06 Thread Chengcheng Zhao
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