topK
vectors may be returned.
*
matches zero or more characters.?
matches exactly one character.[]
matches one character from the list
[abc]
matches either a
, b
, or c
.[a-z]
matches one of the range of characters from a
to z
.[^abc]
matches any one character other than a
, b
, or c
.[^a-z]
matches any one character other than a
to z
.s
or z
,
and ends with anything other than m
to z
.
A
.
OR
boolean operator in between:
AND
boolean operator in between:
array
values.
array
values.
AND
and OR
boolean operators to form
compound filters.
AND
will have higher
precendence than OR
. So, the filter
.
accessor.
Nested objects can be at arbitrary depths, so more than one .
accessor can be used
in the same identifier.
CONTAINS
and NOT CONTAINS
operators, individual array elements can also
be filtered by referencing them with the []
accessor by their indexes.
Indexing is zero based.
#
character with negative values.
#
can be thought as the number of elements in the array, so [#-1]
would reference the
last character.
[a-zA-Z_][a-zA-Z_0-9.[\]#-]*
. In simpler terms, they should
start with characters from the English alphabet or _
, and can continue with same characters plus numbers and other accessors
like .
, [0]
, or [#-1]
.1
or 0
.