On 5/23/2012 12:27 PM, Lance Norskog wrote:
If you want to suppress merging, set the 'mergeFactor' very high. Perhaps 100. Note that Lucene opens many files (50? 100? 200?) for each segment. You would have to set the 'ulimit' for file descriptors to 'unlimited' or 'millions'.
My installation (Solr 3.5.0) creates 11 files per segment, and there is often a 12th file for deletes. I have termvectors turned on for some of my fields. If you aren't using termvectors at all, the last three files in my list are not created:
_26n_2.del _26n.fdt _26n.fdx _26n.fnm _26n.frq _26n.nrm _26n.prx _26n.tii _26n.tis _26n.tvd _26n.tvf _26n.tvx
I have yet to try 3.6, but I would imagine that it isn't a lot different than 3.5. I use a fairly high mergeFactor of 35, and I am considering raising it even higher so that during normal operation there will never be a merge that's not under my control. When I do a full index rebuild, there is so much data added that it will still do automatic merges.
Thanks, Shawn