Hi Luiz, thank you again for your reply.
A colleague of mine told me that I might miss a plugin to use my settings-file. I will check this out and later write down here what I found out. Sorry for all the trouble Am Montag, 7. April 2014 09:29:17 UTC+2 schrieb Alex K: > > Hello there, > > i have a query, example is this: > { > "query": { > "bool": { > "should": [ > { > "multi_match": { > "query": "foo", > "fields": [ > "TITLE", > "SHORTDESC" > ], > "type": "phrase_prefix" > } > }, > { > "multi_match": { > "query": "foo", > "cutoff_frequency": null, > "fields": [ > "TITLE", > "SHORTDESC" > ] > } > } > ] > } > }, > "filter": { > "term": { > "ACTIVE": 1 > } > }, > "sort": { > "TITLE": { > "order": "asc" > } > }, > "size": 7 > } > > Now I have the question if I can use synonyms here? > > I already saw that you can use a synonym-token inside an analyzer. > But I have a query here, not an analyzer. > Do I have to put an analyzer inside the query? > > I don't know much about ES yet, so this may be a total stupid question. > Thank you in advance :-) > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ba838067-1277-4db9-a8f9-e306d47d6591%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.