I have this query, created in C#.
{
"min_score": 20,
"query": {
"bool": {
"filter": {
"term": {
"glnType": {
"value": "Company"
}
}
},
"must": {
"query_string": {
"default_field": "name",
"query": "Test company\\ B\\.V\\."
}
}
}
},
"size": 1000
}
When I run this query in Kibana, it has a value in max_score, so the query looks ok.
However, if I run the query from C# with the latest Elastic.Clients.Elasticsearch, then MaxScore is always null.
How can this be fixed?