Sleek running shoes into the tokens sleek, running, and shoes.
Second, at query time, the query engine looks for token matches based on the specified query and query type. Some common query types include:
- Match: Matches documents containing any or all query tokens
- Phrase: Matches documents where all tokens appear in the same order as the query
- Term: Matches documents containing an exact token
- …and many more advanced query types
Not Substring Matching
While ParadeDB supports substring matching via regex queries, it’s important to note that token matching is not the same as substring matching. Token matching is a much more versatile and powerful technique. It enables relevance scoring, language-specific analysis, typo tolerance, and more expressive query types — capabilities that go far beyond simply looking for a sequence of characters.Similarity Search
Text search is different from similarity search, also known as vector search. Whereas text search matches based on token matches, similarity search matches based on semantic meaning. As of0.25.0, ParadeDB natively supports vector search inside its indexes. See Vector Search to learn more.