Method AcceptPosition
AcceptPosition(Spans)
Implementing classes are required to return whether the current position is a match for the passed in "match" SpanQuery.
This is only called if the underlying Next() for the match is successful
Declaration
protected abstract SpanPositionCheckQuery.AcceptStatus AcceptPosition(Spans spans)
Parameters
Type | Name | Description |
---|---|---|
Spans | spans | The Spans instance, positioned at the spot to check |
Returns
Type | Description |
---|---|
SpanPositionCheckQuery.AcceptStatus | Whether the match is accepted, rejected, or rejected and should move to the next doc. |
See Also
Next()