On Wed, 2008-06-25 at 21:47 +0200, Paolo Valleri wrote:
> For take docid of all document in the index I need to write a class
> that implement indexReader or there is an other method ?
Something along the following should work and be quite fast. However, it
might be overly complex.
// Do this
On Wed, Jun 25, 2008 at 3:47 PM, Paolo Valleri <[EMAIL PROTECTED]> wrote:
> For take docid of all document in the index I need to write a class
> that implement indexReader or there is an other method ?
MatchAllDocsQuery does it.
-Yonik
---
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-
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 se
Hi, I'm using lucene to compute the score of some documents.
For several reasons I need also to know the documents that don't match the
input
query. For example with score 0.
I don't know the engine of lucene and I was wondering how difficult this
change would be.
Thanks.
--
Paolo Valleri