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

java.lang.Object
  extended by com.senseidb.search.client.json.req.query.span.SpanNot
All Implemented Interfaces:
Filter, Query

public class SpanNot
extends Object
implements Query

Removes matches which overlap with another span query. The span not query maps to Sensei SpanNotQuery. Here is an example:

The include and exclude clauses can be any span type query. The include clause is the span query whose matches are filtered, and the exclude clause is the span query whose matches must not overlap those returned.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.senseidb.search.client.json.req.filter.Filter
Filter.AndOr
 
Constructor Summary
SpanNot(SpanTerm include, SpanTerm exclude, double boost)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpanNot

public SpanNot(SpanTerm include,
               SpanTerm exclude,
               double boost)


Copyright © 2010-2012. All Rights Reserved.