Chris , hello. Thank got the tip, but could you explain how can I use it?
Regards, Valentin. > On 16 нояб. 2015 г., at 0:42, Chris Hostetter <hossman_luc...@fucit.org> > wrote: > > > : 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: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org Regards, Valentin Popov --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org