ES Query
{
"bool": {
"must": [
{
"fuzzy_like_this_field": {
"Product.productInfo": {
"like_text": "code=9787 Cornichons, qty=1.0, amt=0.89,code=37424 Pasta Spez. frisch, amt=1.29, totalCost=0.0, vat=0.0",
"fuzziness": 0.5
}
}
}
],
"must_not": [],
"should": []
}
}
I want result which matches with code=9787
and amt=0.89
, totalCost=100.0
, vat=2.0
.
However, it returns all results which contain code=
or amt=
or qty=
. It not checks code
's, amt
's, qty
's values.