Search Problem

2006-10-26 Thread Sunil Kumar PK
Hi, I have a program to create a lucene index, and another program for searching that index. The Search program create an IndexSearcher object once in its constructor, and I created a method doSearch to search the index. The doSearch method uses the indexSearcher object to get the Hits. My Inde

Searching Problem

2006-10-26 Thread Sunil Kumar PK
Hi, I have a program to create a lucene index, and another program for searching that index. The Search program create an IndexSearcher object once in its constructor, and I created a method doSearch to search the index. The doSearch method uses the indexSearcher object to get the Hits. My Inde

Re: Searching Problem

2006-10-26 Thread Sunil Kumar PK
could you please explain? On 10/26/06, Karel Tejnora <[EMAIL PROTECTED]> wrote: Nope. IndexReader obtains a snapshot of index - not closing and opening indexreader leads to not deleting files (windows exception, linux will not free them). > Is it possible to get all the matching document in the

Re: Search Problem

2006-10-26 Thread Sunil Kumar PK
ely, so you can only be assured that the data is available if you, say, close your index updater. Erick On 10/26/06, Sunil Kumar PK <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a program to create a lucene index, and another program for > searching > that index. > > T

Re: Searching Problem

2006-10-26 Thread Sunil Kumar PK
searcher program in that server. right? Can I do this with a remote call, or I want to add a new method to Searchable interface? Thanks, Sunil On 10/26/06, Michael McCandless <[EMAIL PROTECTED]> wrote: Sunil Kumar PK wrote: > could you please explain? > > On 10/26/06, Karel Tejnora &l

Re: Search Problem

2006-10-27 Thread Sunil Kumar PK
en it. That should pick up your recent changes. Of course, now would be a fine time for someone who actually understands the remote/parallel architecture to chime in ... Erick In the server code, all you have to do something like On 10/27/06, Sunil Kumar PK <[EMAIL PROTECTED]> wrote: >

How to improve document retrieval speed.

2006-11-04 Thread Sunil Kumar PK
Hi, In my index there is a unique field, "MY_DOCNO". If I want get a document from the index with MY_DOCNO=1000, I am using following code, IndexSearcher isearcher = new IndexSearcher("myindex1"); QueryParser qp = new QueryParser("MY_DOCNO", new StandardAnalyzer()); Query query = qp.parse("MY

Re: How to improve document retrieval speed.

2006-11-04 Thread Sunil Kumar PK
ay not apply, however, you want to make sure you aren't creating the IndexSearcher every time you want to run the query. See the list archives for info on warming/caching the searcher. What kind of runtimes are you experiencing? On Nov 4, 2006, at 6:46 AM, Sunil Kumar PK wrote: > Hi,

Get scores per field.

2006-12-07 Thread Sunil Kumar PK
Hi All, Is it possible to get the scores/filed in the result document, instead of getting scores/document? If this feature is not exists, what are the possible ways for implementing this feature? Thanks, Sunil

Subscribe me

2006-04-17 Thread Sunil Kumar PK

Remote Parallel MultiSearcher

2006-04-18 Thread Sunil Kumar PK
Hi All, What I have understood from Lucene Remote Parallel Multi Searcher Search Procedure is first compute the weight for the Query in each Index sequentially (one by one, eg: - calculate "query weight" of index1 first and then index2) and then perform searching of each index one by one and merge

Re: Lucene search benchmark/stress test tool

2006-04-26 Thread Sunil Kumar PK
Hi, I have added some code in the Lucene 1.9 - source code for Lucene RemoteParallelMultisearcher performance benchmark. I have recorded the time to execute the 'searchables[i].docFreq(term)' (in MultiSearcher.java) method in both client and server, and for ' searchable.search' (in ParallelMul