Elastic Search Query DSL Getting full search result

Hi Team,

I am trying to search using queryDSL for the below condition
{ "size" : 1000,
"min_score": 1,
"query": {
"bool": {
"must": {
"bool" : {
"should": [
{ "match": { "field1": "X" }},
{ "match": { "field1": "Y" }}
],
"must" : { "match" : {"field2" : "Z" }}
,"minimum_should_match" : 1
}
}
}
}
}

but, my return count is not matching with the number of records,
This result hit is showing max score of 10.66,
Is there any way i can override this behaviour to return full records , my total records runs in range of 1500 but this query is returning only 520 results

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.