===
operator. To understand exactly how it works, let’s consider the following two term queries:
RUNNING
.
===
simply finds all documents where any of their tokens are an exact string match against the query token.
A document’s tokens are determined by the field’s tokenizer and token filters, configured at index creation time.
running
.
Original Text | Tokens | Match | Reason | Related |
---|---|---|---|---|
Sleek running shoes | sleek running shoes | ✅ | Contains the token running . | |
Running shoes sleek | sleek running shoes | ✅ | Contains the token running . | |
SLeeK RUNNING ShOeS | sleek running shoes | ✅ | Contains the token running . | Lowercasing |
Sleek run shoe | sleek run shoe | ❌ | Does not contain the token running . | Stemming |
Sleke ruining shoez | sleke ruining shoez | ❌ | Does not contain the token running . | |
White jogging shoes | white jogging shoes | ❌ | Does not contain the token running . |
v2
. Please continue to use v1
for this capability.