I want to boost the documents based on following conditions:
So could you please help me out in the query syntax for each of the
following.
I am using ES 0.90.7
Higher boost if Search keyword appears at the start of title.
Example: If I am searching for "Rum Cake"
Then Title1 should get higher boosting than Title2
Title1: "Rum Cakes are always good in Taste"
Title2: "I Love Rum Cakes"
Higher weightage to "frequently asked questions" word in the title and
Higher weightage to "technical Specifications" word in the title
If the search keyword is the complete title itself than it has higher
priority than the title which has the search keyword along with some of the
other words
Example: If I am searching for "Rum Cake"
Then Title1 should get higher boosting than Title2
Title1: "Rum Cakes"
Title2: "I Love Rum Cakes"
Please let me know if the above 3 rules can be configured in elasticsearch
or not?
If Yes, Could you please explain them in form of queries.
On Friday, December 27, 2013 3:29:32 PM UTC+5:30, Jayesh Bhoyar wrote:
HI,
I want to boost the documents based on following conditions:
So could you please help me out in the query syntax for each of the
following.
I am using ES 0.90.7
Higher boost if Search keyword appears at the start of title.
Example: If I am searching for "Rum Cake"
Then Title1 should get higher boosting than Title2
Title1: "Rum Cakes are always good in Taste"
Title2: "I Love Rum Cakes"
Higher weightage to "frequently asked questions" word in the title and
Higher weightage to "technical Specifications" word in the title
If the search keyword is the complete title itself than it has higher
priority than the title which has the search keyword along with some of the
other words
Example: If I am searching for "Rum Cake"
Then Title1 should get higher boosting than Title2
Title1: "Rum Cakes"
Title2: "I Love Rum Cakes"
Please let me know if the above 3 rules can be configured in elasticsearch
or not?
If Yes, Could you please explain them in form of queries.
On Friday, December 27, 2013 3:29:32 PM UTC+5:30, Jayesh Bhoyar wrote:
HI,
I want to boost the documents based on following conditions:
So could you please help me out in the query syntax for each of the following.
I am using ES 0.90.7
Higher boost if Search keyword appears at the start of title.
Example: If I am searching for "Rum Cake"
Then Title1 should get higher boosting than Title2
Title1: "Rum Cakes are always good in Taste"
Title2: "I Love Rum Cakes"
Higher weightage to "frequently asked questions" word in the title and
Higher weightage to "technical Specifications" word in the title
If the search keyword is the complete title itself than it has higher priority than the title which has the search keyword along with some of the other words
Example: If I am searching for "Rum Cake"
Then Title1 should get higher boosting than Title2
Title1: "Rum Cakes"
Title2: "I Love Rum Cakes"
Please let me know if the above 3 rules can be configured in elasticsearch or not?
If Yes, Could you please explain them in form of queries.
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.