Query Rescoring in Solr

Query Rescoring in Solr

Sometimes relevance requirements are very complex and creates performance issues during execution. There is a very nice feature Introduced in Solr 4.9 called “Query Reranking/Rescoring” (SOLR-6088) which allows us to…

Read More

Understanding Solr Explain

In this article, I will explain how to read information in solr explain.


When we search documents on solr, the documents in the result are in descending order of their…

Read More

Understanding PhraseQuery and Slop in Solr

PhraseQuery in Lucene matches documents containing a particular sequence of terms. PhraseQuery uses positional information of the term that is stored in an index. 

The number of other words permitted between…

Read More

Data Import Handler – import data from XML files which are in Solr xml format

The DataImportHandler is a Solr contrib that provides a configuration driven way to import data from relational databases or XML files, into Solr in both “full import” and “incremental delta…

Read More

Exactish Phrase Matching in Solr

Phrase match: A simple way by which we can achieve exact matching in Solr is by using the default string type. It is exact phrase matching. the string is a useful…

Read More

Solr's mm parameter - Explanation of Min Number Should Match

This article explains the format used for specifying the “Min Number Should Match” criteria of the BooleanQuery objects built by the DisMaxRequestHandler.  Using this it is possible to specify a…

Read More

Solr Core Discovery

How does Solr discover a core?


If you are a seasoned Solr developer and yet to migrate to latest releases, your answer might be ‘by registering the core by adding <cores> element…

Read More

Filter Queries in Solr

Solr provides Query (q parameter) and Filter Query (fq parameter) for searching.


The query (q parameter), as the name suggests, is the main query used for searching. Example

q = title:james


Filter queries are used alongside query (q…

Read More

Beider Morse Phonetic Matching in Solr

Phonetic Search Overview: Phonetic search is widely used to search phonetically equivalent search terms to the desired search term. – e.g. searching for AVANTAJE while term actually is ADVANTAGE. Solr has…

Read More