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",
                "mincount": 2,
                "numBuckets": true,             
                *"sumBuckets": true*    
        }
}

Is their an alternate way to achieve this?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/JSON-Facet-allBuckets-behavior-tp4298289p4299980.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to