Skip to main content

Exact Phrase Matching

06/03/2026

By default, GraphSearch uses fuzzy matching, which means a filter can match documents even if the words are in a different form, order, or not directly next to each other. Exact phrase matching changes this behavior on the filter level, meaning you can enable it for individual filters without affecting the rest of the query.

When exact phrase matching is enabled on a mandatory filter, the document is only returned if the search value appears as an exact character sequence in the document. For example, given the following text:

"The Paradise is an IBA official cocktail, and is classified as a pre-dinner drink, an apéritif."

Searching for "IBA official" will return the document, but searching for "IBA officials" will not, because the plural form does not match. Similarly, searching for "IBA drink" will not return the document, even though both words are present, because they do not appear one after the other in the text.

When exact phrase matching is enabled on an optional filter, the behavior is different. Instead of a hard match requirement, the filter applies tiered boosting. Searching for "IBA official" gives the document a considerable score boost since it matches exactly. Searching for "IBA cocktail" results in a medium boost, because the words are present and close to each other but not directly adjacent. Searching for "IBA drink" still returns the document, but without any extra boost, since the words are present but further apart in the text.