Re: merging policy is not triggered behind the scene

2013-06-15 Thread Adrien Grand
Hi Lei, On Fri, Jun 14, 2013 at 1:06 AM, Reg wrote: > I noticed if I do the merging in the following way, > IndexWriter.mabyeMerge() is never triggered automatically by the merge > scheduler. > > > IndexWriter writer = ...; > > IndexReader[] readers = ...; > > writer.addIndexes(readers) > > write

Re: Lucene pointing to existing DB Index

2013-06-15 Thread Adrien Grand
Hi, On Sat, Jun 15, 2013 at 6:55 AM, Pradeep B wrote: > Hi > I have just started out on lucene and experimenting with some possibilities. > My goal is to try to exploit an existing database index (which in my case > is an inverted index) to serve as a Lucene Index. > this helps me avoid need of

Re: segments and sorting

2013-06-15 Thread Adrien Grand
Hi, On Fri, Jun 14, 2013 at 11:24 PM, Sriram Sankar wrote: > For my use case of having all docs sorted by a static rank and being able > to cut off retrieval after a certain number of docs, I have to sort all my > docs using the static rank (and Lucene 4 has a way to do this). > > When an index h