Function: resolveIndexName()
resolveIndexName(
config,reference):string|null
Resolve a caller-supplied index reference (a full UC name or a configured
alias) into a concrete index name. Falls back to the default index when the
reference is empty. Returns null when nothing can be resolved so callers
raise a stable, user-facing error rather than calling a phantom index.
Parameters
Section titled “Parameters”config
Section titled “config”reference
Section titled “reference”string | undefined
Returns
Section titled “Returns”string | null