Summary for term facet

2016-10-18 Thread prosens
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:

Re: JSON Facet "allBuckets" behavior

2016-10-06 Thread prosens
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",

Re: SOLR3.6:Field Collapsing/Grouping throws OOM

2012-08-16 Thread prosens
*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: