Re: how lucene search works in memory

2010-03-23 Thread Erick Erickson
First, I'd be sure you need to. See the following: http://wiki.apache.org/lucene-java/ImproveSearchingSpeed A lot of very bright people have worked very hard at optimizing Lucene's search *and* the op system caching. I'd carefully examine m

Re: how lucene search works in memory

2010-03-23 Thread Anshum
Hi Suman, I couldn't find a link but talking about approaches to load an index into memory would be : 1. Create a tmpfs partition and copy your index into the partition, open the index reader/searcher from the tmpfs. * You would have to handle the copying/management of indexes in this case. * I

RE: How Lucene Search

2008-06-30 Thread lutan
I have same questions puzzled me. Could anyone explain which class been called in the searching steps ? Thanks! > Date: Thu, 26 Jun 2008 00:24:08 -0700> From: [EMAIL PROTECTED]> To: > java-user@lucene.apache.org> Subject: How Lucene Search> > > hi, > > I am > fairly new to Lucene and is curre

Re: How Lucene Search

2008-06-26 Thread blazingwolf7
Thanks for the reply. I had try to start a new project already. Like I had mention, I actually go through the code from the start of the application and till the end where the scoring is done. But unfortunately, I still fail to locate the part where Lucene open the index to perform the search. A

Re: How Lucene Search

2008-06-26 Thread Alex Cheng
the debugger that came with eclipse is pretty good for this purpose. You can create a small project and then attach Lucene source for the purpose of debugging. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: How Lucene Search

2008-06-26 Thread Grant Ingersoll
The index is opened via the IndexReader and then it is a variety of places that factor into scoring, such as the Query, Weight and Scorer classes. Probably the easiest place to start is the TermQuery and TermScorer. You might also have a read through http://lucene.apache.org/java/2_3_2/sc