Searching for numbers in text strings

I am getting poor results when searching for numbers on a an otherwise “text” field. I have users with their email addresses. If I have a user with email address and I search for 123 I am not getting back any results. I would think I would get back that user as a result, since it matches part of that email address. How can I configure it to give me back those results?

I have tried adding email as a searchable attribute, and disabling typo-tolerance for it, but that has not helped.

Hi @aaron,

By default the engine doesn’t support search inside of a word (infix search).
That why you don’t have any results when you search for 123 in your index.

You can find more informations on this subject in the documentation.

Hope that helps, let me know if you have more questions :wink: