How to find the stats for all the term facets where count>2,
so looking for a 'termssummary' type like this:
Json.facet={
Total:{
type:termssummary,
field:filename,
*mincount:2*,
Facet:{
Sum:sum(size)
}}}
Is there a way to achieve this?
--
View this message in context:
http://lucene.472066.
Yonik,
Here is the requirement:
Get sum of size field for all the documents which has a duplicate in the
index. Duplicate is decided based on a string field. So, we are looking for
something like this.
{
"Statistics": {
"type": "terms",
"field": "filename",
"*Solr's sorting reads all the unique values into memory whether or not they
satisfy the query...*"
Is it not a overhead for any query? Any reason why it is done on entire
result set and not on the query? Is there a way to avoid this?
--
View this message in context:
http://lucene.472066.n3.nab