How to disable the default scoring in 0.19

I was earlier using 0.18 and i queried the data using custom_filter_score,
and it was returning me the exact score that i assigned in filters(pure
integer values). now upgraded my system to 0.19.4, but now the same query
is returning the different score, like if i assigned some integer, instead
of returning that integer value as score, its score is something like
2.0987. when i checked the query using

  • explain:true*

it was showing other calculations also, which i don't want. i just want to
have the score that i am using in the custom_filter_score, can you tell me,
what did i miss??

The behavior changed in 0.19 of custom_filters_score, because we added more
score modes, the boos/script is used to calculate a value that is then
multiplied by the score of the query it wraps. If you don't want any
scoring from the query wrapped, you can wrap that query with constant_score
query.

On Thu, May 24, 2012 at 9:45 AM, Narinder Kaur narinder.kaur@izap.inwrote:

I was earlier using 0.18 and i queried the data using *custom_filter_score
*, and it was returning me the exact score that i assigned in
filters(pure integer values). now upgraded my system to 0.19.4, but now the
same query is returning the different score, like if i assigned some
integer, instead of returning that integer value as score, its score is
something like 2.0987. when i checked the query using

  • explain:true*

it was showing other calculations also, which i don't want. i just want to
have the score that i am using in the custom_filter_score, can you tell me,
what did i miss??

thanks, it worked fine.

On Saturday, 26 May 2012 04:01:04 UTC+5:30, kimchy wrote:

The behavior changed in 0.19 of custom_filters_score, because we added
more score modes, the boos/script is used to calculate a value that is then
multiplied by the score of the query it wraps. If you don't want any
scoring from the query wrapped, you can wrap that query with constant_score
query.

On Thu, May 24, 2012 at 9:45 AM, Narinder Kaur narinder.kaur@izap.inwrote:

I was earlier using 0.18 and i queried the data using *
custom_filter_score*, and it was returning me the exact score that i
assigned in filters(pure integer values). now upgraded my system to 0.19.4,
but now the same query is returning the different score, like if i assigned
some integer, instead of returning that integer value as score, its score
is something like 2.0987. when i checked the query using

  • explain:true*

it was showing other calculations also, which i don't want. i just want
to have the score that i am using in the custom_filter_score, can you tell
me, what did i miss??