knowing that I have special words composed of several words e.g. "car A"
and "car B".
if I use standard appraoch the a or b are lost. ideally for "driving with
car A is a bad thing" the analyzer should return this:
( "driving", "car A", "bad", "thing")
help, how will you do that?
my filters night well
filter: {
protect_words:{
type: "keyword_marker",
keywords: "car a", "car b"]
},
protect_words2:{
type: "word_delimiter",
protected_words: ["car a", "car b"]
}
},
analyzer: {
knowing that I have special words composed of several words e.g. "car A" and "car B".
if I use standard appraoch the a or b are lost. ideally for "driving with car A is a bad thing" the analyzer should return this:
( "driving", "car A", "bad", "thing")
help, how will you do that?
my filters night well
filter: {
protect_words:{
type: "keyword_marker",
keywords: "car a", "car b"]
},
protect_words2:{
type: "word_delimiter",
protected_words: ["car a", "car b"]
}
},
analyzer: {
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.