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/5fe2d157-b437-4bd8-8a18-8aa4f41f63fe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.