On Wed, 2008-06-25 at 09:29 +0200, Paolo Valleri wrote:
> For several reasons I need also to know the documents that don't match the
> input query. For example with score 0.

Make a list of the docid for all the non-deleted documents in the index.
Collect the docids from the search-result. Subtract the two lists.

You can get the non-deleted docids by iterating from 0 to maxDoc()-1
(from IndexReader) and using the IndexReaders isDeleted(docid).


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to