Question regarding MultiReader and multiple indices

2015-05-04 Thread Anand Bhagwat
Hi, In my application I have multiple indices which are not related and are not similar. The fields they contain are different and the number of documents stored in each index is also different. I want to perform a search across indices. 1) Can I use MultiReader to do this or I need to use somethi

Re: Lucene not merging frequently causing huge index size

2015-04-27 Thread Anand Bhagwat
every > IndexReader you opened? This will cause files to be held open and > then IndexWriter can't delete them. > > Mike McCandless > > http://blog.mikemccandless.com > > On Mon, Apr 27, 2015 at 3:00 AM, Anand Bhagwat > wrote: > > Let me explain the usage scena

Lucene not merging frequently causing huge index size

2015-04-27 Thread Anand Bhagwat
? Do I need to close it on regular intervals? Also why merge which is running in the background is not reducing the index size? Thanks, Anand Bhagwat.

Lucene not merging frequently causing huge index size

2015-04-27 Thread Anand Bhagwat
? Do I need to close it on regular intervals? Also why merge which is running in the background is not reducing the index size? Thanks, Anand Bhagwat.