forked from Graylog2/graylog2-server
-
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.
Return index set wildcard instead of individual indices if index list…
… is too long (Graylog2#4062) * Return write index alias instead of individual indices in Searches#determineAffectedIndices() If the number of indices determined in `Searches#determineAffectedIndices()` is larger than `Searches.MAX_INDICES_PER_QUERY`, return the covering write index aliases of the respective index sets instead of the individual index names. Fixes Graylog2#4054 * Use index wildcard instead of write index alias (duh!) * Use correct indices in Searches#search(SearchesConfig) * Reduce number of indices in Searches#fieldStats() if necessary
- Loading branch information
Showing
2 changed files
with
88 additions
and
24 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
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