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
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
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
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?
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