Hi,
Is it possible to be able to create a search filter based on a calculated/computed field?
I have this document :
{
"amount": 100,
"taxe": 10,
[...]
}
I want to be able to search only records where "amount" + "taxe" <= 100
I saw that it exists (script_fields) for elastic :
GET /_search
{
"query": {
"match_all": {}
},
"script_fields": {
"test1": {
"script": {
"lang": "painless",
"source": "doc['price'].value * 2"
}
}
}
Does this exist for App Search? Or is there a solution to do this?
Thanks