Version: 5.1
We are getting different hits sets when executing query with and without *
The below query returns 8 records when we expect about 44 records.
"query": {
"query_string": {
"query": "(application:1000000001 AND application_owner_account:2000000001)"
}
},
Including wildcard returns the correct set of results - 44 records
"query": {
"query_string": {
"query": "(application:1000000001* AND application_owner_account:2000000001)"
}
},
We did not see this issue in development and happens only in production environment. Can anyone explain me this behavior?