Construct a SpanNotQuery matching spans from
CopyC#
include
which have no overlap with spans from
CopyC#
exclude
.

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

Syntax

C#
public SpanNotQuery(
	SpanQuery include,
	SpanQuery exclude
)
Visual Basic
Public Sub New ( _
	include As SpanQuery, _
	exclude As SpanQuery _
)
Visual C++
public:
SpanNotQuery(
	SpanQuery^ include, 
	SpanQuery^ exclude
)

Parameters

include
Type: Lucene.Net.Search.Spans..::..SpanQuery

[Missing <param name="include"/> documentation for "M:Lucene.Net.Search.Spans.SpanNotQuery.#ctor(Lucene.Net.Search.Spans.SpanQuery,Lucene.Net.Search.Spans.SpanQuery)"]

exclude
Type: Lucene.Net.Search.Spans..::..SpanQuery

[Missing <param name="exclude"/> documentation for "M:Lucene.Net.Search.Spans.SpanNotQuery.#ctor(Lucene.Net.Search.Spans.SpanQuery,Lucene.Net.Search.Spans.SpanQuery)"]

See Also