lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prosens <pros...@gmail.com>
Subject Re: JSON Facet "allBuckets" behavior
Date Thu, 06 Oct 2016 15:51:30 GMT
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.

Mime
View raw message