Getting matched synonym


I would like to get the following result, but cant seem to find a solution:

I have an index with a field which has f.i the value: laptop
I have a synonym filter which maps laptop to notebook

This all works fine, but what i would like is to show the user 'notebook'
as autcomplete suggestion when he types 'note', not laptop. since this is
So is there a way the get the autocomplete value of the synonym?

A hacky solution would be to call the analezer with the proposed suggest
word(laptop). which will then give me notebook as synonym. But this means 2
calls and doesnt seem like a neat solution.


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit