-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
native script custom explain feature removed in elasticsearch 1.4 #8561
Comments
I was eager to remove code and apparently got a little overboard. I will make a pr shortly to add it again. I currently see now other way to add details from a search script to the explanation. |
explainable scripts were removed in elastic#7245 but they were used. This commit adds them again. closes elastic#8561
@brwe : Could you add it back to v1.4 branch too please ? |
thank you @brwe ! |
thanks for adding it back @brwe. LGTM |
Since ExplainableSearchScript.explain now takes a |
explainable scripts were removed in elastic#7245 but they were used. This commit adds them again. closes elastic#8561
I see that in issue #7245 , the interface ExplainableSearchScript and its use in ScriptScoreFunction is removed. I use that feature to customize (add all attributes in addition to query and parameters i use to compute the score in my script) the explain plan of my custom native script. It was fairly useful.
I am wondering why was it removed. Is there a different way to add my custom details to the explanation of script function ?
The text was updated successfully, but these errors were encountered: