You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executing a search request with a PIT + searchAfter and 2 sort fields (first one is not uniq, second one is uniq) returns less hits in total that for track_total_hits. The smaller the page size, the more data is lost, if you use scrolling, there is no problem. if you change the sorting values (only 1 uniq or first one is uniq and second one is not uniq), the problem also disappears
Related component
Clients
To Reproduce
How can one reproduce the bug?
create a search request with a PIT and 2 sort fields like
and notice that in total you have less hits that returns in track_total_hits:
total using PIT = 1999953
"total": {
"value": 2000000,
"relation": "eq"
}
Expected behavior
A search response in total returns the same number of hits as for track_total_hits
Additional Details
SpringBoot application
The text was updated successfully, but these errors were encountered:
Describe the bug
#15869
Executing a search request with a PIT + searchAfter and 2 sort fields (first one is not uniq, second one is uniq) returns less hits in total that for track_total_hits. The smaller the page size, the more data is lost, if you use scrolling, there is no problem. if you change the sorting values (only 1 uniq or first one is uniq and second one is not uniq), the problem also disappears
Related component
Clients
To Reproduce
How can one reproduce the bug?
create a search request with a PIT and 2 sort fields like
run this query several times using searchAfter like:
and notice that in total you have less hits that returns in track_total_hits:
total using PIT = 1999953
"total": {
"value": 2000000,
"relation": "eq"
}
Expected behavior
A search response in total returns the same number of hits as for track_total_hits
Additional Details
SpringBoot application
The text was updated successfully, but these errors were encountered: