In this chapter, we will cover the following topics:
Getting the number of documents with the same field value
Getting the number of documents with the same value range
Getting the number of documents matching the query and subquery
Removing filters from faceting results
Using decision tree faceting
Calculating faceting for relevant documents in groups
Improving faceting performance for low cardinality fields