Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Multi Search in Searches to prevent large HTTP request headers (#…
…4149) Instead of artificially restricting the number of indices in a search request and resorting to using index wildcards if the list of indices threatens to hit the default HTTP header size limit of Elasticsearch (4 KB), the `Searches` class is now using the Multi Search API of Elasticsearch which allows specifying the list of indices in the request body instead of the URI path. Refs https://www.elastic.co/guide/en/elasticsearch/reference/5.6/search-multi-search.html Refs elastic/elasticsearch#26360 Refs #4054
- Loading branch information
Showing
3 changed files
with
84 additions
and
132 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
Oops, something went wrong.