com.senseidb.search.client.json.req.filter
Class Ids
java.lang.Object
com.senseidb.search.client.json.req.filter.Ids
- All Implemented Interfaces:
- Filter, Query
public class Ids
- extends Object
- implements Filter, Query
Filters documents that only have the provided ids. Note, this filter does not require the _id field to be indexed since it works using the _uid field.
{
"ids" : {
"type" : "my_type"
"values" : ["1", "4", "100"]
}
}
The type is optional and can be omitted, and can also accept an array of values.
| 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 |
Ids
public Ids(List<String> values,
List<String> excludes)
Ids
public Ids(List<String> values,
List<String> excludes,
double boost)
getValues
public List<String> getValues()
getExcludes
public List<String> getExcludes()
Copyright © 2010-2012. All Rights Reserved.