Sleek running shoes
into the tokens sleek
, running
, and shoes
.
Second, at query time, the query engine looks for token matches based on the query type.
For example, a match disjunction query for running shoes
will match any document that contains at least one of the tokens running
or shoes
.
In contrast, a match conjunction query requires all tokens to be present in the document — running
and shoes
must both appear.
run
might miss running
, while a token-based match query will correctly match if the tokenizer includes stemming. This makes token matching a fit for search and discovery use cases where users expect flexible, intelligent results.