sleek
is at most 1
token away from shoes
.
sl.*
is at most 1
token away
from the token shoes
.
pdb.prox_regex
will expand to the first 50
regex matches in each document. This limit can be overridden
by providing a second argument:
pdb.prox_array
matches against an array of tokens instead of a single token. For example, the following query finds all
documents where any of the tokens sleek
or white
is within 1
token of shoes
.
pdb.prox_array
can also take regex: