On Fri, 2006-09-08 at 15:27 +0800, jacky wrote:
>
> So when the lucene database is updated, how to notify to reopen the
> IndexSearcher since there may be several applications to search this
> lucene database?
Jira issue 550 contains easy to use decorated notification code that
will do all th
An other way to prevent your indexsearch from reopened everytime you
delete an document is to use a global delete filter which excludes all
deleted documents from being retrieved e.g. included in your search
results. That won't work with updates without using a buffer or
something similar but if y
jacky wrote:
> There is a question about delete operation, i have not found any doc in
> lucene api's javadoc:
>When using delete(Term term) of IndexReader and commit, at the same time,
> an indexSearcher is open.So the deleted document still can be seached till
> reopen the indexSearcher