Re: Word delimiter filter - ignore words with hyphen

2014-01-27 Thread Binh Ly
Patrick, If I understand correctly, you just want to preserve the dashes as is and not "word-delimit" on them. You can try something like this (I am just preserving the - symbol: \\u002D): "analysis": { "analyzer": { "wd1": { "tokenizer": "whitespace",

Word delimiter filter - ignore words with hyphen

2014-01-27 Thread Patrick Norwood
Hi all, I would really appreciate if anyone could navigate me, how I should set my word_delimiter_filter to skip words containing hyphen? The desired result is that the word with '-' in them, will be ignored by word delimiter filter. One possible way that I tried to implement was using protected