Im creating asp.net web site that uses Lucene.Net via NHibernate.Search as a 
search engine and i`ve run into very bad performance problem where removing 
(for update) one document from index lasts more then 5 minutes which is 
unacceptable. Site runs under IIS on Windows.



There are about 3000 documents with one field indexed that are being updated 
3-5 times per minute.  It looks like new segment created per each transaction 
because right now there are about 40000 .cfs/.del (coupled) files which makes 
80000 files in index and indexs size is about 25Mb. But after optimization 
(which took 7 minutes) index size shrunk to 350Kb.



Im not sure if its misconfiguration issue or smth else. Here are Lucene 
settings (default):

maxBufferedDeleteTerms = 1000, maxMergeDocs = 2147483647, mergeFactor = 10, 
minMergeDocs = 10,useCompoundFile = true

Reply via email to