com.senseidb.search.client.json.req
Class Terms

java.lang.Object
  extended by com.senseidb.search.client.json.req.Selection
      extended by com.senseidb.search.client.json.req.Terms
All Implemented Interfaces:
Filter, Query

public class Terms
extends Selection
implements Query

A query that match on any (configurable) of the provided terms. This is a simpler syntax query for using a bool query with several term queries in the should clauses. For example:

The terms query is also aliased with in as the query name for simpler usage.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.senseidb.search.client.json.req.Selection
Selection.Custom, Selection.Path, Selection.Range
 
Nested classes/interfaces inherited from interface com.senseidb.search.client.json.req.filter.Filter
Filter.AndOr
 
Constructor Summary
Terms()
           
Terms(List<String> values, List<String> excludes, Operator op)
           
Terms(List<String> values, List<String> excludes, Operator op, int minimumMatch, double boost)
           
 
Method Summary
 
Methods inherited from class com.senseidb.search.client.json.req.Selection
custom, getField, path, range, range, setField, terms, terms
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Terms

public Terms()

Terms

public Terms(List<String> values,
             List<String> excludes,
             Operator op)

Terms

public Terms(List<String> values,
             List<String> excludes,
             Operator op,
             int minimumMatch,
             double boost)


Copyright © 2010-2012. All Rights Reserved.