Example usage for Java org.apache.lucene.search.spans SpanQuery fields, constructors, methods, implement or subclass
The text is from its open source code.
SpanWeight | createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) |
String | getField() Returns the name of the field matched by this query. |
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. |