forked from django-haystack/django-haystack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update elasticsearch_backend.py, added support 'track_total_hits'
Support track_total_hits Handling in ElasticsearchSearchBackend - Implemented handling for `track_total_hits` in the Elasticsearch search backend. - Supports `bool` values (True/False) and `int` values. - Added a warning for invalid `track_total_hits` values. - Ensured the parameter is only added to search kwargs when valid.
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters