Closed xescugc closed 7 years ago
Is there a way to use filterb with script? I can use it with filter but not with filterb. The script is something like this
filterb
script
filter
{ "script": { "script": "doc['field'].values.size()>1" } }
Nothing, found the solution deep on the docs 👍 What disoriented me was the error which was Unknown filter operator 'script' hehe.
Unknown filter operator 'script'
Is there a way to use
filterb
withscript
? I can use it withfilter
but not withfilterb
. The script is something like this