: public void collect(int docID) throws IOException {
: Document doc = indexSearcher.doc(docID,
loadFields);
: found.found(doc);
: }
Based on your description of the calculation you are doing on all of these
docs, you will probably find using DocValues on the "to" field and using
that in your calculations will be a lot faster then dealing with the
StoredFields...
: >>>>>> We have ~10 indexes for 500M documents, each document
: >>>>>> has «archive date», and «to» address, one of our task is
: >>>>>> calculate statistics of «to» for last year. Right now we are
: >>>>>> using search archive_date:(current_date - 1 year) and paginate
-Hoss
http://www.lucidworks.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]