TotalHits
class TotalHits
Represents the total number of matching results and indicates how accurate that count is.
The Value
field provides the count, which may be exact or estimated. The Relation
field indicates whether it's an exact figure or a lower bound. This helps understand the full scope of search results, especially when dealing with large result sets.