Re: synonyms in a query

2014-04-08 Thread Alex K
Hi Luiz, thank you again for your reply. I don't fully understand the part you mentioned: After index one document with the title equals do core: curl -XPOST 'localhost:9200/myindex/test/1' -d '{ title: core }' Sorry, I am pretty new to ES and haven't understand pretty much. Now what

Re: synonyms in a query

2014-04-08 Thread Alex K
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

Re: synonyms in a query

2014-04-08 Thread Alex K
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: {

synonyms in a query

2014-04-07 Thread Alex K
Hello there, i have a query, example is this: { query: { bool: { should: [ { multi_match: { query: foo, fields: [ TITLE, SHORTDESC

Re: synonyms in a query

2014-04-07 Thread Alex K
Hello Luiz, thank you for your reply! As we use rivers, I was told to declare the analyzer there. It looks like this for me: { index : { analysis : { filter : { synonym_filter : { type : synonym, synonyms : [ foo,