What is the Facet Domain The domain of a facet is the set of values (normally defined by a set of documents) that calculations will be done over. The root domain is the set of documents that match the base query and any filters. Changing the Facet Domain For any […]

Facet Domains

Nested Documents Nested Documents (also called Nested Objects) provides the ability to “nest” some documents inside of other documents in a parent/child relationship. Why Nested Documents One reason for using nested documents is to prevent false matches. For example, we may have a T-Shirt with 2 SKUs, a Large Red, […]

Nested Objects in Solr

Here’s an overview of some of the new features in Solr 6.3. Download Solr 6.3 to try these features out and give us feedback! You can also check out upcoming features of the next Solr release. New dvhash faceting method in the JSON Facet API A new faceting method for […]

Solr 6.3 Features

Here’s an overview of some of the new features in Solr 7.0 Download Solr 7 to try these features out and give us feedback!   Point Numeric Fields The now deprecated trie-based numeric fields use (and abuse) the full-text index to index parts of numbers to speed up range queries. […]

Solr 7 Features

NOTE: This uses syntax from the upcoming Solr 5.4 release. If you are using Solr 5.2 or 5.3, specify domain:{excludeTags:mytag} as excludeTags:mytag. Multi-Select Faceting with Solr Multi-select faceting is a powerful faceting style that allows users to see and select multiple facet constraints (facet values) for certain facets. This example […]

Multi-Select Faceting

Solr Facet Performance These benchmarks compare the performance of the new JSON Facet API with it’s “performance-first” architecture, and the existing (legacy) Solr Facets. Test index details: documents: 5M index segments: 25 index size: 1.74GB 6 single valued string fields with 10, 100, 1000, 10000, 100000, 1000000 unique values respectively. […]

Facet & Analytics Performance

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

Related Pages Facet Functions Sub-Facets Multi-Select Faceting Nested Documents / Block Join Faceting Facet Performance Benchmarks Introduction Solr 5 has a completely re-written faceted search and analytics module with a structured JSON API to control the faceting and analytics commands. NOTE: Some examples use syntax only supported in later Solr […]