Constructor SpanNotQuery
SpanNotQuery(SpanQuery, SpanQuery)
Construct a SpanNotQuery matching spans from include
which
have no overlap with spans from exclude
.
Declaration
public SpanNotQuery(SpanQuery include, SpanQuery exclude)
Parameters
Type | Name | Description |
---|---|---|
SpanQuery | include | |
SpanQuery | exclude |
SpanNotQuery(SpanQuery, SpanQuery, Int32)
Construct a SpanNotQuery matching spans from include
which
have no overlap with spans from exclude
within
dist
tokens of include
.
Declaration
public SpanNotQuery(SpanQuery include, SpanQuery exclude, int dist)
Parameters
Type | Name | Description |
---|---|---|
SpanQuery | include | |
SpanQuery | exclude | |
System.Int32 | dist |
SpanNotQuery(SpanQuery, SpanQuery, Int32, Int32)
Construct a SpanNotQuery matching spans from include
which
have no overlap with spans from exclude
within
pre
tokens before or post
tokens of include
.
Declaration
public SpanNotQuery(SpanQuery include, SpanQuery exclude, int pre, int post)
Parameters
Type | Name | Description |
---|---|---|
SpanQuery | include | |
SpanQuery | exclude | |
System.Int32 | pre | |
System.Int32 | post |