ConstantScoreQuery
A query that wraps another query and simply returns a constant score equal to 1 for every document that matches the query. It therefore simply strips of all scores and always returns 1.
Functions
Link copied to clipboard
Expert: Constructs an appropriate Weight implementation for this query.
Link copied to clipboard
Override and implement query instance equivalence properly in a subclass. This is required so that QueryCache works properly.
Link copied to clipboard
Returns the encapsulated query.
Link copied to clipboard
Recurse through the query tree, visiting any child queries.