RE: Result ordering

2011-01-17 Thread Pelit Mamani
Thank you both, Umesh Prasad and Anshum. You've been a great help. -Original Message- From: Anshum [mailto:ansh...@gmail.com] Sent: Sunday, January 16, 2011 5:26 PM To: java-user@lucene.apache.org Subject: Re: Result ordering Hi Pelit, Firstly, number of words that match a query in a d

Re: Question on writer optimize() / file merging?

2011-01-17 Thread Erick Erickson
See below: On Sun, Jan 16, 2011 at 10:15 AM, sol myr wrote: > Hi, > > I'm trying to understand the behavior of file merging / optimization. > I see that whenever my IndexWriter calls 'commit()', it creates a new file > (or fileS). > I also see these files merged when calling 'optimize()' , as mu