Method First
First(SearchSpanDefinition<TDocument>, int)
Creates a span clause that matches near the beginning of the string.
public SearchSpanDefinition<TDocument> First(SearchSpanDefinition<TDocument> @operator, int endPositionLte)
Parameters
operator
SearchSpanDefinition<TDocument>The span operator.
endPositionLte
intThe highest position in which to match the query.
Returns
- SearchSpanDefinition<TDocument>
A first span clause.