- toString
- rewrite
Expert: called to re-write queries into primitive queries. For example, a
PrefixQuery will be rewrit
- setBoost
Sets the boost for this query clause to b.
- createWeight
Expert: Constructs an appropriate Weight implementation for this query.Only
implemented by primitive
- equals
Override and implement query instance equivalence properly in a subclass. This
is required so that Q
- hashCode
Override and implement query hash code properly in a subclass. This is required
so that QueryCache w
- getBoost
Gets the boost for this clause.
- extractTerms
Expert: adds all terms occuring in this query to the terms set. Only works if
this query is in its #
- clone
Returns a clone of this query.
- weight
Expert: Constructs and initializes a Weight for a top-level query.
- combine
Expert: called when re-writing queries under MultiSearcher. Create a single
query suitable for use b
- getSimilarity
Expert: Returns the Similarity implementation to be used for this query.
Subclasses may override thi