What is more, I tried to get the maximum value using stats query This time the response time was about 30 seconds and server ate 1.5 Gb of memory when calculating the response. But there were no statistics in response:
<response> <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">27578</int> <lst name="params"> <str name="q">*.*</str> <str name="stats">true</str> <str name="stats.field">Id</str> <str name="rows">0</str> </lst> </lst> <result name="response" numFound="0" start="0"/> <lst name="stats"> <lst name="stats_fields"> <null name="Id"/> </lst> </lst> </response> What's wrong here? -- View this message in context: http://lucene.472066.n3.nabble.com/Getting-maximum-minimum-field-value-slow-query-tp3989467p3989468.html Sent from the Solr - User mailing list archive at Nabble.com.