Class SpanNearPayloadCheckQuery
Only return those matches that have a specific payload at
the given position.
Inheritance
System.Object
SpanNearPayloadCheckQuery
Assembly: Lucene.Net.dll
Syntax
public class SpanNearPayloadCheckQuery : SpanPositionCheckQuery
Constructors
|
Improve this Doc
View Source
SpanNearPayloadCheckQuery(SpanNearQuery, ICollection<Byte[]>)
Declaration
public SpanNearPayloadCheckQuery(SpanNearQuery match, ICollection<byte[]> payloadToMatch)
Parameters
Type |
Name |
Description |
SpanNearQuery |
match |
The underlying SpanQuery to check
|
ICollection<System.Byte[]> |
payloadToMatch |
The ICollection{byte[]} of payloads to match.
IMPORTANT: If the type provided does not implement (including arrays),
, or , it should provide an
and implementation
that compares the values of the byte arrays to ensure they are the same.
|
Fields
|
Improve this Doc
View Source
m_payloadToMatch
Declaration
protected readonly ICollection<byte[]> m_payloadToMatch
Field Value
Type |
Description |
ICollection<System.Byte[]> |
|
Methods
|
Improve this Doc
View Source
AcceptPosition(Spans)
Declaration
protected override SpanPositionCheckQuery.AcceptStatus AcceptPosition(Spans spans)
Parameters
Type |
Name |
Description |
Spans |
spans |
|
Returns
Overrides
|
Improve this Doc
View Source
Clone()
Declaration
public override object Clone()
Returns
Type |
Description |
System.Object |
|
Overrides
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
ToString(String)
Declaration
public override string ToString(string field)
Parameters
Type |
Name |
Description |
System.String |
field |
|
Returns
Type |
Description |
System.String |
|
Overrides