(no subject)

I am trying to use boostinq query.

{
"boosting" : {
"positive" : {
"term" : {
"field1" : "value1"
}
},
"negative" : {
"term" : {
"field2" : "value2"
}
},
"negative_boost" : 0.2
}
}

I have understood it but could you tell me how does negative or
positive boost value is evaluated with the document.

Use explain to see how the score is calculated: Elasticsearch Platform — Find real-time answers at scale | Elastic.

On Monday, March 5, 2012 at 7:11 AM, jajoria abhishek wrote:

I am trying to use boostinq query.

{ "boosting" : { "positive" : { "term" : { "field1" : "value1" } }, "negative" : { "term" : { "field2" : "value2" } }, "negative_boost" : 0.2 } }
I have understood it but could you tell me how does negative or positive boost value is evaluated with the document.

On Mon, Mar 5, 2012 at 8:47 PM, Shay Banon kimchy@gmail.com wrote:

Use explain to see how the score is calculated:
Elasticsearch Platform — Find real-time answers at scale | Elastic.

On Monday, March 5, 2012 at 7:11 AM, jajoria abhishek wrote:

I am trying to use boostinq query.

{
"boosting" : {
"positive" : {
"term" : {
"field1" : "value1"
}
},
"negative" : {
"term" : {
"field2" : "value2"
}
},
"negative_boost" : 0.2
}
}

I have understood it but could you tell me how does negative or positive boost value is evaluated with the document.

how does negative boost work in boosting query?