com.senseidb.search.client.json.req.query.span
Class SpanFirst
java.lang.Object
com.senseidb.search.client.json.req.query.span.SpanFirst
- All Implemented Interfaces:
- Filter, Query
public class SpanFirst
- extends Object
- implements Query
Matches spans near the beginning of a field. The span first query maps to
Sensei SpanFirstQuery. Here is an example:
The match clause can be any other span type query. The
end controls the maximum end position permitted in a match.
| Nested classes/interfaces inherited from interface com.senseidb.search.client.json.req.filter.Filter |
Filter.AndOr |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpanFirst
public SpanFirst(SpanTerm match,
int end,
double boost)
Copyright © 2010-2012. All Rights Reserved.