Maximum Score


(Arulkumar) #1

Hi,

May i know the maximum value of _score field...?


(Lukáš Vlček) #2

Hi,
It is a relative value, why do you need to know it?
Regards,
Lukas
Dne 2.2.2011 9:34 "Arulkumar" arulkumarcs@gmail.com napsal(a):

Hi,

May i know the maximum value of _score field...?


(Arulkumar) #3

I need to calculate average score based on max_score and _score
value....

On Feb 2, 3:49 pm, Lukáš Vlček lukas.vl...@gmail.com wrote:

Hi,
It is a relative value, why do you need to know it?
Regards,
Lukas
Dne 2.2.2011 9:34 "Arulkumar" arulkuma...@gmail.com napsal(a):

Hi,

May i know the maximum value of _score field...?


(Lukáš Vlček) #4

Sorry for my ignorance but why do you need avg value of score?
Dne 2.2.2011 11:59 "Arulkumar" arulkumarcs@gmail.com napsal(a):

I need to calculate average score based on max_score and _score
value....

On Feb 2, 3:49 pm, Lukáš Vlček lukas.vl...@gmail.com wrote:

Hi,
It is a relative value, why do you need to know it?
Regards,
Lukas
Dne 2.2.2011 9:34 "Arulkumar" arulkuma...@gmail.com napsal(a):

Hi,

May i know the maximum value of _score field...?


(Arulkumar) #5

I need in my application to show to user some values based on this max
score...

so only....

On Feb 2, 4:02 pm, Lukáš Vlček lukas.vl...@gmail.com wrote:

Sorry for my ignorance but why do you need avg value of score?
Dne 2.2.2011 11:59 "Arulkumar" arulkuma...@gmail.com napsal(a):

I need to calculate average score based on max_score and _score
value....

On Feb 2, 3:49 pm, Lukáš Vlček lukas.vl...@gmail.com wrote:

Hi,
It is a relative value, why do you need to know it?
Regards,
Lukas
Dne 2.2.2011 9:34 "Arulkumar" arulkuma...@gmail.com napsal(a):

Hi,

May i know the maximum value of _score field...?


(Shay Banon) #6

The maximum score is returned as part of the search response, is that what you are after?
On Wednesday, February 2, 2011 at 1:08 PM, Arulkumar wrote:

I need in my application to show to user some values based on this max
score...

so only....

On Feb 2, 4:02 pm, Lukáš Vlček lukas.vl...@gmail.com wrote:

Sorry for my ignorance but why do you need avg value of score?
Dne 2.2.2011 11:59 "Arulkumar" arulkuma...@gmail.com napsal(a):

I need to calculate average score based on max_score and _score
value....

On Feb 2, 3:49 pm, Lukáš Vlček lukas.vl...@gmail.com wrote:

Hi,
It is a relative value, why do you need to know it?
Regards,
Lukas
Dne 2.2.2011 9:34 "Arulkumar" arulkuma...@gmail.com napsal(a):

Hi,

May i know the maximum value of _score field...?


(Arulkumar) #7

ok.... am looking for the range of the _score value (min and max
value)....

On Feb 2, 4:13 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

The maximum score is returned as part of the search response, is that what you are after?

On Wednesday, February 2, 2011 at 1:08 PM, Arulkumar wrote:

I need in my application to show to user some values based on this max
score...

so only....

On Feb 2, 4:02 pm, Lukáš Vlček lukas.vl...@gmail.com wrote:

Sorry for my ignorance but why do you need avg value of score?
Dne 2.2.2011 11:59 "Arulkumar" arulkuma...@gmail.com napsal(a):

I need to calculate average score based on max_score and _score
value....

On Feb 2, 3:49 pm, Lukáš Vlček lukas.vl...@gmail.com wrote:

Hi,
It is a relative value, why do you need to know it?
Regards,
Lukas
Dne 2.2.2011 9:34 "Arulkumar" arulkuma...@gmail.com napsal(a):

Hi,

May i know the maximum value of _score field...?


(Shay Banon) #8

on thing that you can do, is use the statistical facet, and put this as the script: doc.score

The ability to get the score for a doc in a script is part of upcoming 0.15.
On Wednesday, February 2, 2011 at 1:22 PM, Arulkumar wrote:

ok.... am looking for the range of the _score value (min and max
value)....

On Feb 2, 4:13 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

The maximum score is returned as part of the search response, is that what you are after?

On Wednesday, February 2, 2011 at 1:08 PM, Arulkumar wrote:

I need in my application to show to user some values based on this max
score...

so only....

On Feb 2, 4:02 pm, Lukáš Vlček lukas.vl...@gmail.com wrote:

Sorry for my ignorance but why do you need avg value of score?
Dne 2.2.2011 11:59 "Arulkumar" arulkuma...@gmail.com napsal(a):

I need to calculate average score based on max_score and _score
value....

On Feb 2, 3:49 pm, Lukáš Vlček lukas.vl...@gmail.com wrote:

Hi,
It is a relative value, why do you need to know it?
Regards,
Lukas
Dne 2.2.2011 9:34 "Arulkumar" arulkuma...@gmail.com napsal(a):

Hi,

May i know the maximum value of _score field...?


(system) #9