count distinct


A 100% accurate count of distinct values (count distinct) is not generally possible without actually observing all of the values together. However there are a number of ways to estimate the count. “unique” Facet Function The unique facet function is Solr’s fastest implementation to calculate the number of distinct values. […]

Count Distinct in Solr


NOTE: Some examples use syntax only supported in Solr 5.3! Download a Solr 5.3 snapshot to try them out. Traditional faceted search (also called guided navigation) involves counting search results that belong to categories (also called facet constraints). The new facet functions in Solr extends normal faceting by allowing additional […]

Solr Facet Functions and Analytics