i've had perfectly fine performance with StatsComponent, but have only tested with 50,000 documents. for example i have field syllables and numeric field syllables_count. then i sum the syllable count for any search query. how many documents are you working with?
On Mon, Jan 14, 2013 at 10:54 AM, Mikhail Khludnev <mkhlud...@griddynamics.com> wrote: > Stored fields are famous for its' slowness as well as they requires two io > operation per doc. You can spend some heap for uninverting the index and > utilize wiki.apache.org/solr/StatsComponent > Let us know whether it works for you. > 14.01.2013 13:14 пользователь "stockii" <stock.jo...@googlemail.com> > написал: > >> 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. >> -- edge