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 5.3, the next upcoming Solr release. Download a 5.3 developer snapshot to try these features out and give us feedback! Faceting Nested Documents The JSON Facet API can now change the domain for facet commands, essentially doing a block […]

Solr 5.3 Features


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



Solr 5 Tutorial This tutorial is for Solr 5.2 and later. If you have Solr 4, check out the Solr 4 Tutorial. 1. Download Solr Download and unpack the latest Solr release from the Apache download mirrors. You may want to check out the Solr Prerequisites as well. 2. Start […]

Solr Tutorial


Introduction Facet Types Testing Using Curl Terms Facet Query Facet Range Facet Related page: Facet Functions Related page: Sub-Facets 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 […]

JSON Facet API


NOTE: Some examples use syntax only supported in Solr 5.3! Download a Solr 5.3 snapshot to try them out. Subfacets (also called Nested Facets) is a more generalized form of Solr’s current pivot faceting that allows adding additional facets for every bucket produced by a parent facet. Subfacet advantages over […]

Solr Subfacets



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


segments_info
Solr 5.1 has been released! Here’s an overview of how to use some of the new features. Also see Solr download links and upcoming features of the next Solr release. New Facet Module The new facet module has a native JSON Facet API, first-class support for statistics and analytics via […]

Solr 5.1 Features


Here’s an overview of some of the new features in Solr 5.2 Also see Solr download links and upcoming features of the next Solr release. Solr caches can be limited by memory use Caches using the LRUCache implementation can specify a new parameter maxRamMB that will evict based on RAM […]

Solr 5.2 Features



The percentile aggregation function was just added to the new Solr Facet Module. This allows one to calculate one or more percentiles for each facet bucket (i.e. each group of documents produced by faceting), and even sort facet buckets by any given percentile. The percentile aggregation even works with distributed […]

Percentiles for Solr Faceting