Apache Lucene.Net 2.4.0 Class Library API

SpanFilter Class

Abstract base class providing a mechanism to restrict searches to a subset of an index and also maintains and returns position information. This is useful if you want to compare the positions from a SpanQuery with the positions of items in a filter. For instance, if you had a SpanFilter that marked all the occurrences of the word "foo" in documents, and then you entered a new SpanQuery containing bar, you could not only filter by the word foo, but you could then compare position information for post processing.

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

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

public abstract class SpanFilter : Filter

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

SpanFilter Members | Lucene.Net.Search Namespace