Does anyone know if it's possible to obtain results to use an alternative term search based on a percentage? For example Imagine I have an Apple index. I'd like to have 40% of the results to be color red while 60% to be color green? I don't think this is possible withminimum_should_match
Maybe something like
{
"bool": {
"should": [
{
"term": {
"color": "red"
},
"minimum_should_match": 60%
},
{
"term": {
"color": "green"
},
"minimum_should_match": 40%
}
]
}
}