Getting matched synonym

Hi,

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
confusing.
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.

Thx,
Rc

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3c96246b-d4ce-4ff3-89d8-480d6ca36828%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.