Hi Grant,
thanks for the ideas. I implemented a personal Collector, which returns
all docID's. In the next step I collect all terms using a customised
FieldSelector. This implementation is about 2 to 3 times faster than my
previous implementation using only a customised FieldSelector.
Howeve
On Jul 27, 2010, at 8:50 AM, Philippe wrote:
> Hi,
>
> what would be the fastest way to get all terms for all documents matching a
> specific query?
>
> Sofar I:
>
> 1.) Query the index
> 2.) Retrieve all scoreDocs
> 3.) Iterate the scoreDocs and retrieve all terms using the getValues method
Hi,
what would be the fastest way to get all terms for all documents
matching a specific query?
Sofar I:
1.) Query the index
2.) Retrieve all scoreDocs
3.) Iterate the scoreDocs and retrieve all terms using the getValues
method and a customised "FieldSelector"
However, retrieving and itera