Class SpanNearPayloadCheckQuery
Only return those matches that have a specific payload at
the given position.
Inheritance
System.Object
SpanNearPayloadCheckQuery
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
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.
|
System.Collections.Generic.ICollection<System.Byte[]> |
payloadToMatch |
The ICollection{byte[]} of payloads to match.
IMPORTANT: If the type provided does not implement System.Collections.Generic.IList<T> (including arrays) or
System.Collections.Generic.ISet<T>, it should either implement System.Collections.IStructuralEquatable or override
System.Object.Equals(System.Object) and System.Object.GetHashCode() with implementations
that compare 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 |
System.Collections.Generic.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