GET catalog-us/_search
{
"query": {
"bool": {
"must": [
{
"term": {
"relation_type": {
"value": "product"
}
}
},
{
"filter" :
{
"script" : {
"script" : "'product.product_id'.values.length > 12"
}
}
}
]
}
}
}
Hi,
Are you still in trouble?
If so, this page may help you to access data in script.