Modify explain string in elasticsearch plugin

Hi

I am overriding the scoring function using a plugin as described in

I would like to know how to override the explain string, so that i can add
explanation for all my custom scoring.

Thanks
Srini

--
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/b4485fa8-39f0-40f3-b614-9842c200a0e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

The explain string is basically a JSON formatted string of Lucene's explain
object. I doubt this formatter is pluggable or that you can change the
Explain object.

--
Ivan

On Tue, May 13, 2014 at 11:36 PM, Srinivasan Ramaswamy
ursvasan@gmail.comwrote:

Hi

I am overriding the scoring function using a plugin as described in

GitHub - imotov/elasticsearch-native-script-example: Example of Now Deprecated Native Script Plugin for Elasticsearch

I would like to know how to override the explain string, so that i can add
explanation for all my custom scoring.

Thanks
Srini

--
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/b4485fa8-39f0-40f3-b614-9842c200a0e2%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/b4485fa8-39f0-40f3-b614-9842c200a0e2%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/CALY%3DcQAmU3cKM%3Ddw2NyV_7BZfZn6MnBJ8zy7SX0Ri45epZUPcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Does the current explain gives details about the function/script in
function score query ? If so how is it achieved ? I would like to add
explanation for my custom scoring so that its easy to investigate. How do
people achieve this typically using elasticsearch ?

Thanks
Srini

On Wed, May 14, 2014 at 4:28 PM, Ivan Brusic ivan@brusic.com wrote:

The explain string is basically a JSON formatted string of Lucene's
explain object. I doubt this formatter is pluggable or that you can change
the Explain object.

--
Ivan

On Tue, May 13, 2014 at 11:36 PM, Srinivasan Ramaswamy <ursvasan@gmail.com

wrote:

Hi

I am overriding the scoring function using a plugin as described in

GitHub - imotov/elasticsearch-native-script-example: Example of Now Deprecated Native Script Plugin for Elasticsearch

I would like to know how to override the explain string, so that i can
add explanation for all my custom scoring.

Thanks
Srini

--
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/b4485fa8-39f0-40f3-b614-9842c200a0e2%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/b4485fa8-39f0-40f3-b614-9842c200a0e2%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/7e2Xe_mpJYU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAmU3cKM%3Ddw2NyV_7BZfZn6MnBJ8zy7SX0Ri45epZUPcA%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAmU3cKM%3Ddw2NyV_7BZfZn6MnBJ8zy7SX0Ri45epZUPcA%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
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/CAL1MvVzRZ%2B5eSn85uNFi8BX963Q_QojcYp72m6unTrmm5SdLUw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

I looked into the same issue when I first switched over to using custom
scoring. I did not see a simple solution, so I did not investigate it
further. Hopefully you will be able to find something.

--
Ivan

On Thu, May 15, 2014 at 10:14 AM, Srinivasan Ramaswamy
ursvasan@gmail.comwrote:

Does the current explain gives details about the function/script in
function score query ? If so how is it achieved ? I would like to add
explanation for my custom scoring so that its easy to investigate. How do
people achieve this typically using elasticsearch ?

Thanks
Srini

On Wed, May 14, 2014 at 4:28 PM, Ivan Brusic ivan@brusic.com wrote:

The explain string is basically a JSON formatted string of Lucene's
explain object. I doubt this formatter is pluggable or that you can change
the Explain object.

--
Ivan

On Tue, May 13, 2014 at 11:36 PM, Srinivasan Ramaswamy <
ursvasan@gmail.com> wrote:

Hi

I am overriding the scoring function using a plugin as described in

GitHub - imotov/elasticsearch-native-script-example: Example of Now Deprecated Native Script Plugin for Elasticsearch

I would like to know how to override the explain string, so that i can
add explanation for all my custom scoring.

Thanks
Srini

--
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/b4485fa8-39f0-40f3-b614-9842c200a0e2%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/b4485fa8-39f0-40f3-b614-9842c200a0e2%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/7e2Xe_mpJYU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAmU3cKM%3Ddw2NyV_7BZfZn6MnBJ8zy7SX0Ri45epZUPcA%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAmU3cKM%3Ddw2NyV_7BZfZn6MnBJ8zy7SX0Ri45epZUPcA%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
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/CAL1MvVzRZ%2B5eSn85uNFi8BX963Q_QojcYp72m6unTrmm5SdLUw%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAL1MvVzRZ%2B5eSn85uNFi8BX963Q_QojcYp72m6unTrmm5SdLUw%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
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/CALY%3DcQBR2is9JFammnnh%3D4RYa--zOw6bdEsJneX_ahw673MGXA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.