Re: Searching Problem

2006-10-26 Thread Sunil Kumar PK
Thanks Mike for the information. Actually I am using RemoteParallelMultiSearcher with 10 Search Servers, my crawler program freequently add new documents in to all the Search Servers in a distributed manner. So in this case, if I add a document in a particular index, I need to restart the searche

Re: Searching Problem

2006-10-26 Thread Michael McCandless
Sunil Kumar PK wrote: 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 ma

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: Searching Problem

2006-10-26 Thread Karel Tejnora
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 result without restarting the Searcher program?

Re: searching problem

2005-09-21 Thread Otis Gospodnetic
Hello, You could extract the file name extension at index time, and index it as a Field.Keyword. Then you can search for it with a simple TermQuery or : syntax using QueryParser. Otis P.S. Please don't cross-post - use [EMAIL PROTECTED] list --- haipeng du <[EMAIL PROTECTED]> wrote: > how cou