Re: need some n00b help: how do I install and set up synonyms file?

2015-01-23 Thread Thami Inaflas
Hello, i guess you should re-index your data because you have changed the mapping, and check if this analysis is run on your query AND on your indexed data. I hope this helps you out, TI Le vendredi 23 janvier 2015 01:50:00 UTC+1, james rubinstein a écrit : Thanks Mark, I believe that I

Re: need some n00b help: how do I install and set up synonyms file?

2015-01-22 Thread james rubinstein
Also, I tried this: curl -XPUT 'localhost:9200/test/_settings' -d ' { index : { analysis : { analyzer : { synonym : { tokenizer : whitespace, filter : [synonym] }

Re: need some n00b help: how do I install and set up synonyms file?

2015-01-22 Thread Mark Walkom
The path needs to be relative to the config home for ES. Take a look at http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#default-paths for where that would be on your installation. On 23 January 2015 at 08:45, james rubinstein rubinstein.ja...@gmail.com

need some n00b help: how do I install and set up synonyms file?

2015-01-22 Thread james rubinstein
Hi all, I'm new to using ES, but have so far found the process quite intuitive. I've installed ES, set up an index, indexed a bunch of JSON documents, and I can search them. Hooray! However, I want to start using synonyms for a few queries. I'd like to do this at query time using a synonym