Closed
Description
openedon Feb 17, 2021
To view problem, modify an existing use of searchSource with the following
searchSource.setField('track_total_hits', 100);
.- Update
searchSource.fetch
to include the optionlegacyHitsTotal: false
- inspect the results of the search source. Notice that total does not reflect the provided
track_total_hits
and just returns results liketrack_total_hits: true
was set.
cc @lukasolson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment