hi all,
can I protect keywords from other filters than stemmers,eg word_delimiter?
I want to use word_delimiter but I dont want to break "iphone 5". Is there
any other way?
thanks,
g.
--
hi all,
can I protect keywords from other filters than stemmers,eg word_delimiter?
I want to use word_delimiter but I dont want to break "iphone 5". Is there
any other way?
thanks,
g.
--
Take a look at the Keyword Marker filter (and Stemmer Override)
Just noticed a mistake in the documentation (which I contributed). The
example should use keywords_path.
Ivan
On Wed, Oct 31, 2012 at 8:21 AM, Giorgos Tsiftsis <
giorgos.tsiftsis@gmail.com> wrote:
hi all,
can I protect keywords from other filters than stemmers,eg
word_delimiter? I want to use word_delimiter but I dont want to break
"iphone 5". Is there any other way?
thanks,
g.--
--
word delimiter doesn't support / respect the keyword attribute right now.
It might be useful though. I will open a lucene issue and add it.
simon
On Wednesday, October 31, 2012 4:21:53 PM UTC+1, Giorgos Tsiftsis wrote:
hi all,
can I protect keywords from other filters than stemmers,eg
word_delimiter? I want to use word_delimiter but I dont want to break
"iphone 5". Is there any other way?
thanks,
g.
--
Doesn't the Stemmer Override filter also use keyword attributes? Can you
use it as a workaround?
eg: "iphone 5" => "iphone 5"
--
Ivan
On Fri, Nov 2, 2012 at 2:51 PM, simonw simon.willnauer@elasticsearch.comwrote:
word delimiter doesn't support / respect the keyword attribute right now.
It might be useful though. I will open a lucene issue and add it.simon
On Wednesday, October 31, 2012 4:21:53 PM UTC+1, Giorgos Tsiftsis wrote:
hi all,
can I protect keywords from other filters than stemmers,eg
word_delimiter? I want to use word_delimiter but I dont want to break
"iphone 5". Is there any other way?
thanks,
g.--
--
actually the simplest way is use set the "protected_words" property of
WordDelimiterFilter
-> Elasticsearch Platform — Find real-time answers at scale | Elastic
On Wednesday, October 31, 2012 4:21:53 PM UTC+1, Giorgos Tsiftsis wrote:
hi all,
can I protect keywords from other filters than stemmers,eg
word_delimiter? I want to use word_delimiter but I dont want to break
"iphone 5". Is there any other way?
thanks,
g.
--
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.