Me again,

seems it was a local problem for me.
The way Luiz mentioned is the exact correct way.
Thank you very much, Luiz!!!!
You helped me really out of this!

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/7a1878b4-6c79-42a3-b0d7-5562d0cbdece%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to