Re: Help needed understanding analyzer behavior

2014-08-01 Thread Sina Tamanna
When I develope custom analyzers I use Analyze API to test it and understand the tokens that will be indexed. Take a look at http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-analyze.html -- You received this message because you are subscribed to the Google

Re: Synonym Filter

2014-01-21 Thread Sina Tamanna
Hey, Synonym filter has its own tokenizer which is not the same as one defined for synonym analyzer. You need to define the tokenizer inside the synonym filter: filter:{ syns_filter:{ synonyms_path:synonyms/synonym_collegename.txt, type:synonym,

Re: Help with a Query DSL

2013-12-21 Thread Sina Tamanna
It is a bit tricky to do such query, because the way the data is indexed. I can't see an obvious solution but perhaps someone else knows better. Though what I can suggest is that you change the structure of your index, if that is a possibility. Index you data by location_id and room_id and