-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categoriesTeam:SearchMeta label for search teamMeta label for search teamhelp wantedadoptmeadoptmewon't fix
Description
If a request is accepted by the coordination node we lookup the concrete indices, potential aliases and whether an alias has a filter up via several lookups from the cluster metadata. Also when checking for cluster blocks we do a lookup too.
All this can be done via a single lookup and if we change the transport action api we pass this information too all the places that need it.
Doing this via a single lookup cleans things up (no need for MetaData#filteringAliases(...) and MetaData#resolveSearchRouting(...) methods) but in cases where there are many aliases and indices this can speed things up too.
Follow up issue for #12058
Metadata
Metadata
Assignees
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categoriesTeam:SearchMeta label for search teamMeta label for search teamhelp wantedadoptmeadoptmewon't fix