In this chapter, we will cover the following topics:
Understanding and using the Lucene query language
Using position-aware queries
Using boosting with autocomplete
Phrase queries with shingles
Handling user queries without errors
Handling hierarchies with nested documents
Sorting data on the basis of a function value
Controlling the number of terms needed to match
Affecting document score using function queries
Using simple nested queries
Using the Solr document's query join functionality
Handling typos with n-grams
Rescoring query results