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 Groups
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":"synon
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 kee