Spatial Search with Solr

Spatial Search with Solr

In this article we will see how solr supports spatial search.

Spatial Search

Solr supports location data for use in spatial/geospatial searches. Using spatial search, you can:


Index points or other…

Read More

Solr Terms Component usage

Solr Terms Component usage

In this article we will see how  solr Terms Component can be used for building Auto-suggest feature  and  Browse index feature.

Terms Component:


The Terms Component returns information about  indexed terms in…

Read More

Solr 5. 3: Execute SQL queries

Solr 5. 3: Execute SQL queries

SQL statement is the most widely used language for querying data and is the…

Read More

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

Solr HyperLogLog

Solr 5.2 introduces HyperLogLog, the probabilistic approach for counting distinct values.


Solr already had provision to count distinct values using unique facet function or countDistinct LocalParam in stats component. But this approach doesn’t scale…

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

Solr: Search using JSON Request API

Solr 5.1 introduces the new JSON request API!


Solr supports multiple query response formats such as xml, json, csv, velocity UI, etc. but for making request you were always supposed to…

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