Querying

Solr can be seen as a tell-and-ask system; that is, you first put in (index) some data, then it can answer questions you ask (query) about that data. Since the actors involved in these interactions are not humans, Solr provides a formal and systematic way to execute both index and query operations. Specifically, from a query perspective, that requires a specialized language that can be interpreted by Solr in order to produce the expected answers. Such a language is usually called a query language.

Search-related configuration

The solrconfig.xml file has a <query> section that contains several search settings. Most of them are related to caches, a critical topic that will be described in Chapter 5, Administering and Tuning Solr.

As we already ...

Get Apache Solr Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.