Skip to content

Function: resolveSearchConfig()

resolveSearchConfig(config?): ResolvedSearchConfig

Resolve plugin config over environment defaults into the concrete ResolvedSearchConfig. The default index is unioned into the known indexes so it always appears in the catalogue, aliases are de-duplicated, and a bad mode throws a ConfigurationError naming the field.

SearchPluginConfig = {}

ResolvedSearchConfig