Page 1 of 1

How does the "contains" filter work in Filter candidates API

Posted: 22 May 2024, 21:09
by saadaamir
Hi,
how does the "contains" filter exactly work in filtering.
For example if i have the string "User experience" and im filtering the "notes" field with it.

Will it only find the notes with the entire string "User experience" or with either "user" or "experience" or both.

Re: How does the "contains" filter work in Filter candidates API

Posted: 19 Jun 2024, 02:56
by xmasnumeral
saadaamir wrote: 22 May 2024, 21:09 Hi,
how does the "contains" filter exactly work in filtering.
For example if i have the string "User experience" and im filtering the "notes" field with it.snow rider

Will it only find the notes with the entire string "User experience" or with either "user" or "experience" or both.
In most basic implementations, using a "contains" filter with the string "User experience" will look for notes that include the entire substring "User experience" as it is. It won't automatically find notes with just "user" or "experience" unless the system specifically supports and is configured to perform such token-based searches or is using full-text search capabilities.