return new SpanWeight(this, searcher);
Returns the name of the field matched by this query.
Expert: Returns the matches for this query in an index. Used internally to search for spans.
Returns a collection of all terms matched by this query.deprecateduse extractTerms insteadseeQuery#extractTerms(Set)