com.senseidb.search.client.json.req.query.span
Class SpanFirst

java.lang.Object
  extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface com.senseidb.search.client.json.req.filter.Filter
Filter.AndOr
 
Constructor Summary
SpanFirst(SpanTerm match, int end, double boost)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpanFirst

public SpanFirst(SpanTerm match,
                 int end,
                 double boost)


Copyright © 2010-2012. All Rights Reserved.