Partial Matching with Synonym filters

Hi.

I am trying to use a synonym filter for searching known variations of a name.

I have configured a type "people" with property "name" (string). This is configured to use a defined filter with the following synonym definition (I will expand these later)

aliss,aleese,aleeze,alisa => alice

Inserting content containing name "Alice", and searching for "_search?q=name:"Aliss" etc works fine.

However, I would also like to expand upon this and allowing searching of partial synonym matches. Is this possible?

i.e q=name:"Alis*" OR q=name:"Alee*"

This does not work. I know this can be solved in the application logic of course, but it would be kinda cool if Elastic supported this, or if I could somehow chain some filters together to achieve it.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.