Scoring and explain

Hi guys,

I'm developing a scoring plugin and I need to display some information
about score computation. I need to display the reason(s) why I have this
score, which criteria matched etc..
I currently implement ExplainableSearchScript interface and use Explain
feature to retrieve that info.

I think it's not the best way to get scoring reason because of overload
during hit fetch and because this interface is not in 1.4 branch anymore.
My first thought is to add a new field in response but it really doesn't
seems obvious ...

So what can I do to get scoring information efficiently ?

Thanks !
Guillaume

ES 1.3.3
Lucene 4.9.1

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f143fdfc-8d57-4b5b-a505-ddb534bbfb8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

On Thursday, November 6, 2014 3:30:26 AM UTC-8, Guillaume H wrote:

Hi guys,

I'm developing a scoring plugin and I need to display some information
about score computation. I need to display the reason(s) why I have this
score, which criteria matched etc..
I currently implement ExplainableSearchScript interface and use Explain
feature to retrieve that info.

I think it's not the best way to get scoring reason because of overload
during hit fetch and because this interface is not in 1.4 branch anymore.
My first thought is to add a new field in response but it really doesn't
seems obvious ...

So what can I do to get scoring information efficiently ?

I also have this issue. I've been using ExplainableSearchScript to add
information computed in the scoring script to the explanation for
debugging, but it's gone in 1.4. Is there any other way (doesn't have to be
efficient) to get information out of a script into the search response?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5a038538-3930-4540-b941-405b60711052%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

FYI ExplainableSearchScript interface is back in 1.4 branch.

Le mercredi 19 novembre 2014 04:04:05 UTC+1, Nick Tarleton a écrit :

On Thursday, November 6, 2014 3:30:26 AM UTC-8, Guillaume H wrote:

Hi guys,

I'm developing a scoring plugin and I need to display some information
about score computation. I need to display the reason(s) why I have this
score, which criteria matched etc..
I currently implement ExplainableSearchScript interface and use Explain
feature to retrieve that info.

I think it's not the best way to get scoring reason because of overload
during hit fetch and because this interface is not in 1.4 branch anymore.
My first thought is to add a new field in response but it really doesn't
seems obvious ...

So what can I do to get scoring information efficiently ?

I also have this issue. I've been using ExplainableSearchScript to add
information computed in the scoring script to the explanation for
debugging, but it's gone in 1.4. Is there any other way (doesn't have to be
efficient) to get information out of a script into the search response?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/478f8ffc-a9dd-40fc-9b84-a0b292c15a37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.