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 iterating the scoredocs is quite costly. So is there a better/faster way to perform this?

Cheers,
    Philippe

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to