query: { filtered_query: { query: { match_all_query: {} }, filter: { term_filter: { field: "id", operator: "is", values: ["my_id"] } } } }Example: (id IN ("my_id","other_id"))
query: { filtered_query: { query: { match_all_query: {} }, filter: { term_filter: { field: "id", operator: "one_of", values: ["my_id","other_id"] } } } }Example: (description=NULL)
query: { filtered_query: { query: { match_all_query: {} }, filter: { term_filter: { field: "description", operator: "is_null" } } } }
Property | Type | Constraints | Description |
---|---|---|---|
field
|
String | mandatory=true, nullable=false | The filter field. |
operator
|
Enum {is, one_of, is_null, is_not_null, less, greater, not_in, neq} | mandatory=true, nullable=false | The operator to compare the field's values with the given ones. |
values
|
[Object] | The filter values. |