TotalHits

constructor(value: Long, relation: TotalHits.Relation)

Parameters

value

The value of the total hit count. Must be interpreted in the context of .relation.

relation

Whether .value is the exact hit count, in which case .relation is equal to Relation.EQUAL_TO, or a lower bound of the total hit count, in which case .relation is equal to Relation.GREATER_THAN_OR_EQUAL_TO.