Example usage for Java org.apache.lucene.search Query fields, constructors, methods, implement or subclass
The text is from its open source code.
Weight | createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) Expert: Constructs an appropriate Weight implementation for this query. |
boolean | equals(Object obj) Override and implement query instance equivalence properly in a subclass. |
int | hashCode() Override and implement query hash code properly in a subclass. |
Query | rewrite(IndexReader reader) Expert: called to re-write queries into primitive queries. |
String | toString(String field) Prints a query to a string, with field assumed to be the default field and omitted. |
String | toString() Prints a query to a string. |