Constrains search results to only match those which also match a provided
query. Also provides position information about where each document matches
at the cost of extra space compared with the QueryWrapperFilter.
There is an added cost to this above what is stored in a
QueryWrapperFilter . Namely,
the position information for each matching document is stored.
This filter does not cache. See the
org.apache.lucene.search.CachingSpanFilter for a wrapper that
caches.
version: $Id:$
Constructs a filter which only matches documents matching
query.
Parameters: query - The org.apache.lucene.search.spans.SpanQuery to use as the basis for the Filter.