Will my query from 6.X still work? I'm hoping I don't have to change the query since it's being ran on legacy apps.
{
"constant_score": {
"filter": {
"bool": {
"adjust_pure_negative": true,
"must": [
{
"bool": {
"adjust_pure_negative": true,
"should": [
{
"bool": {
"adjust_pure_negative": true,
"must": [
{
"term": {
"userNumber": {
"boost": 1,
"value": 42 }
}
},
{
"range": {
"date": {
"format": "yyyy-MM-dd",
"include_lower": true,
"include_upper": true,
"from": "2018-02-18",
"boost": 1,
"to": "2018-03-03"
}
}
}
],
"boost": 1
}
}
],
"minimum_should_match": "1",
"boost": 1
}
}
],
"boost": 1
}
},
"boost": 1
}
}