Question: what are facets in solr?
Answer: Faceting in Apache Solr refers to the classification of the search results into various categories. In this chapter, we will discuss the types of faceting available in Apache Solr − Query faceting − It returns the number of documents in the current search results that also match the given query.