Base class for span-based queries.
Expert: Constructs an appropriate Weight implementation for this query.
Only implemented by primitive queries, which re-write to themselves.
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.