RE: Lucene slow performance -- still broke

2013-03-20 Thread Scott Smith
Duh...it's supposed to be setMergeFactor(). Thanks Scott -Original Message- From: Simon Willnauer [mailto:simon.willna...@gmail.com] Sent: Wednesday, March 20, 2013 3:53 PM To: java-user@lucene.apache.org Subject: Re: Lucene slow performance -- still broke quick question, w

Re: Lucene slow performance -- still broke

2013-03-20 Thread Simon Willnauer
quick question, why on earth do you set: lbsm.setMaxMergeDocs(10); if you have 10 docs in a segment you don't want to merge anymore? I don't think you should set this at all. simon On Wed, Mar 20, 2013 at 10:48 PM, Scott Smith wrote: > First, I decided I wasn't comfortable doing closes on t

RE: Lucene slow performance -- still broke

2013-03-20 Thread Scott Smith
First, I decided I wasn't comfortable doing closes on the IndexReader. So, I did what I hope is better. I create a singleton SearcherManager (out-of-the-box from the 4.1 release) and do acquire/releases. I assume that's more or less equivalent anyway. Second, it doesn't really matter as I am