Filter format
To filter your queries use the following format:
filter[{logical-operator}][{field}_{operator}]: {value}
Logical operator
You can use or, nor and not.
For and queries you can omit the logical operator level.
Field
Any field of the object you are quering. For nested fields use the dot notation.
Example:
filter[content.product_id]: "123456"
Operator
The following query operators are supported
| operator | description | example |
|---|---|---|
| regex | regex expression | |
| exists | if the field exists | |
| nexists | if the field doesnt exists | |
| eq | fields is equal | you can omit that |
| ne | fields is not equal | |
| in | fields value in list | comma separated |
| nin | fields value not in list | comma separated |
| lt | less than | |
| lte | less than equal | |
| gt | greater than | |
| gte | greater than equal | |
| false | equals to false | |
| true | equals to true | |
| ntrue | equals to not true | |
| nfalse | equals to not false | |
| null | equals to null | |
| empty | exists but empty | useful for lists |
Simple Filters
filter[content.fname]: John
Advanced Filters
filter[or][fname_ne]: John
filter[or][subdocs.content.guest_true]: 1
Filter Referenced Documents
Documentation missing
