You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting - SearchPhaseExecutionException[Failed to execute phase [query_fetch], all shards failed; shardFailures {[OtHPQX2iRj2yhtfeBMqJgA][restaurants][0]: SearchParseException[[restaurants][0]: from[-1],size[0]: Parse Failure [Failed to parse source [{"size":0,"aggs":{"sum":{"sum":{"script":"_score"}}}}]]]; nested: ScriptException[dynamic scripting for [mvel] disabled]; }]
The text was updated successfully, but these errors were encountered:
@clintongormley - My apologies , it was not _size , it was doc.score.
My concern was that , with scripting disabled , doc.score is working , but _score is giving "scripting disabled error".
On executing
I am seeing
{
took: 13
timed_out: false
_shards: {
total: 1
successful: 1
failed: 0
}
hits: {
total: 1946
max_score: 0
hits: [ ]
}
aggregations: {
sum: {
value: 1946
}
}
}
But on executing
I am getting - SearchPhaseExecutionException[Failed to execute phase [query_fetch], all shards failed; shardFailures {[OtHPQX2iRj2yhtfeBMqJgA][restaurants][0]: SearchParseException[[restaurants][0]: from[-1],size[0]: Parse Failure [Failed to parse source [{"size":0,"aggs":{"sum":{"sum":{"script":"_score"}}}}]]]; nested: ScriptException[dynamic scripting for [mvel] disabled]; }]
The text was updated successfully, but these errors were encountered: