How to calculate a custom score which is kind of a formula that combines
scores from multiple queries. Each such query itself might have a custom
score script inside it. A short example will be great for explanation.
--
How to calculate a custom score which is kind of a formula that combines
scores from multiple queries. Each such query itself might have a custom
score script inside it. A short example will be great for explanation.
--
On Thursday, 30 August 2012 17:31:42 UTC+5:30, Atharva Patel wrote:
How to calculate a custom score which is kind of a formula that combines
scores from multiple queries. Each such query itself might have a custom
score script inside it. A short example will be great for explanation.
--
For example I want to find a score something like finalscore =
0.4customquery1 + 0.6customquery2;
How to achieve this with elasticsearch API?
On Thursday, 30 August 2012 17:31:42 UTC+5:30, Atharva Patel wrote:
How to calculate a custom score which is kind of a formula that combines
scores from multiple queries. Each such query itself might have a custom
score script inside it. A short example will be great for explanation.
--
The word to search for on the ES website is boost. The simplest was to
combine queries is to use a boolean query called a boolQuery in ES.
-Paul
On 8/30/2012 5:20 AM, Atharva Patel wrote:
For example I want to find a score something like finalscore =
0.4customquery1 + 0.6customquery2;
How to achieve this with elasticsearch API?
--
© 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.