My issue with above standard tokenizer is that I cannot map "BMW 6 series" to "61i", "62i", "63i". I cannot use "keyword" tokenizer as the search could be: "chevy red" or "BMW 6 series v8".
I am open to changing tokenizers and other elements if required. Please advise.
I guess you are using query string query. If you use match query instead, it should work.
Masaru
On March 25, 2015 at 06:41:11, Prateek Asthana (paryanz@gmail.com) wrote:
I am having requirement similar to below:
search for "chevy" should map to search for "chevrolet". I am using synonyms to accomplish this.
search for "BMW 6 series" should map to "61i", "62i", "63i" and so on. I am planning to use synonyms to accomplish this too.
Field that contains either (chevrolet or 61i or 62i or 63i) is having index analyzer as:
My issue with above standard tokenizer is that I cannot map "BMW 6 series" to "61i", "62i", "63i". I cannot use "keyword" tokenizer as the search could be: "chevy red" or "BMW 6 series v8".
I am open to changing tokenizers and other elements if required. Please advise.
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.