Home » Solr

What is Solr and how it can benefit your business?

INTRODUCTION – Apache Solr is a NoSql based text search engine with the capacity to run blazing fast searches along with loads of functionalities such as faceting, grouping, collapsing, fuzzy searching, boosting, relevancy tuning, etc. Its an extrapolation of Lucene-based search and is developed based on the open-source architecture. Most businesses these days need their…

RequestHandlers and SearchComponents in SolrConfig – Ultimate Solr Guide

After the <query> section of solrconfig.xml, request handlers and search components are configured.A request handler processes requests coming to Solr. These might be query requests or index update requests. You will likely need several of these defined, depending on how you want Solr to handle the various requests you will make.A search component is a feature of search, such as highlighting or…

Circuit Breakers – Ultimate Solr Guide

Solr’s circuit breaker infrastructure allows prevention of actions that can cause a node to go beyond its capacity or to go down. The premise of circuit breakers is to ensure a higher quality of service and only accept request loads that are serviceable in the current resource configuration. When To Use Circuit Breakers Circuit breakers…

Distributed Search – Ultimate Solr Guide

When using traditional index sharding, you will need to consider how to query your documents.It is highly recommended that you use SolrCloud when needing to scale up or scale-out. The setup described below is legacy and was used prior to the existence of SolrCloud. SolrCloud provides for a truly distributed set of features with support for…

Solr caches – Ultimate Solr Guide

The settings in this section affect the way that Solr will process and respond to queries. These settings are all configured in child elements of the <query> element in solrconfig.xml. Caches Solr caches are associated with a specific instance of an Index Searcher, a specific view of an index that doesn’t change during the lifetime of that searcher….

Collapse and Expand Results – Ultimate Solr Guide

The Collapsing query parser and the Expand component combine to form an approach to grouping documents for field collapsing in search results. The Collapsing query parser groups documents (collapsing the result set) according to your parameters, while the Expand component provides access to documents in the collapsed group for use in results display or other…

Spell Checking – Ultimate Solr Guide

The SpellCheck component is designed to provide inline query suggestions based on other, similar, terms. The basis for these suggestions can be terms in a field in Solr, externally created text files, or fields in other Lucene indexes. Configuring the SpellCheckComponent Define Spell Check in solrconfig.xml The first step is to specify the source of…

MoreLikeThis – Ultimate Solr Guide

The MoreLikeThis search component enables users to query for documents similar to a document in their result list. It does this by using terms from the original document to find similar documents in the index. There are three ways to use MoreLikeThis. The first, and most common, is to use it as a request handler. In this…

Transforming Result Documents – Ultimate Solr Guide

Document Transformers modify the information returned about documents in the results of a query. Using Document Transformers When executing a request, a document transformer can be used by including it in the fl parameter using square brackets, for example: Some transformers allow, or require, local parameters which can be specified as key value pairs inside the brackets:…

1234