Constructs a filter which only matches documents matching
CopyC#
query
.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public SpanQueryFilter(
	SpanQuery query
)
Visual Basic
Public Sub New ( _
	query As SpanQuery _
)
Visual C++
public:
SpanQueryFilter(
	SpanQuery^ query
)

Parameters

query
Type: Lucene.Net.Search.Spans..::..SpanQuery
The {@link Lucene.Net.Search.Spans.SpanQuery} to use as the basis for the Filter.

See Also