Algolia does not support infix/suffix matching. Our documentation notes that by design, Algolia doesn’t support infix/suffix matching; therefore, Algolia doesn’t find substrings in the middle or the end of a string.
For example,
Searching for “Jess” will return “Jessica”, but “sica” will not return “Jessica”
Searching for “Tho” returns “Thomas”, searching “mas” will not return “Thomas”
You can also review this documentation -Querying in the middle of a word.