Re: Get all terms of a specific field

2010-07-28 Thread Philippe
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.

Get all terms of a specific field

2010-07-27 Thread Philippe
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

Re: Get all terms of a specific field

2010-07-27 Thread Grant Ingersoll
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 and a