Hello! Fetching all the documents, especially for a query that returns many documents can be a pain.
However there is a StatsComponent (http://wiki.apache.org/solr/StatsComponent) in Solr, however your field would have to be numeric and indexed. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch > hello. > My problem is, that i need to calculate a sum of amounts. this amount is in > my index (stored="true"). my php script get all values with paging. but if a > request takes too long, jetty is killing this process and i get a "broken > pipe". > Which is the best/fastest way to get the values of many fields from index? > exists an ResponseHandler for exports? Or which is the fastest? > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Calculate-a-sum-tp4033091.html > Sent from the Solr - User mailing list archive at Nabble.com.