Apache Lucene.Net 2.4.0 Class Library API

SpanQueryFilter Class

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 {@link QueryWrapperFilter}. Namely, the position information for each matching document is stored.

This filter does not cache. See the {@link Lucene.Net.Search.CachingSpanFilter} for a wrapper that caches.

For a list of all members of this type, see SpanQueryFilter Members.

System.Object
   Lucene.Net.Search.Filter
      Lucene.Net.Search.SpanFilter
         Lucene.Net.Search.SpanQueryFilter

public class SpanQueryFilter : SpanFilter

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Lucene.Net.Search

Assembly: Lucene.Net (in Lucene.Net.dll)

See Also

SpanQueryFilter Members | Lucene.Net.Search Namespace