Operators
- = : Equal
- != : Unequal
- > : Greater than
- >= : Greater than or equal to
- < : Less than
- <= : Less than or equal to
- like: CONTAINS('%any%') | STARTS WITH('%any') | ENDS WITH('any%') in (prototype-contains-starts-ends-with-filters-0)
- q : another federation searchParams with only one attributes to search on.
#<attribute> : <operator> <value>
Operators
- + : ASC
- - : DESC
@sort : <+|-> <attribute>
@on : <attribute>
DSL:
@on: title 'The Matrix' @sort : -id @on : 'genres' #id: <1000
Rendered Search params:
{
"q": "'The Matrix'",
"filter": [
"id < 1000"
],
"sort": [
"id:desc"
],
"attributesToSearchOn": [
"title",
"genres"
],
// ...
}