Member Junction
    Preparing search index...

    Resolves and caches vector infrastructure for content items.

    One instance per pass (the autotagger) or per run (a pipeline stage): each group's database instance and credential lookup are built once, and a failed build is not cached.

    Index

    Constructors

    Methods

    • Resolve the target MJ: Vector Indexes row ID for a content source using the pipeline's vector-index resolution cascade (groupKeyFor):

      1. ContentSource.VectorIndexID
      2. ContentType.VectorIndexID
      3. ContentPipeline.DefaultVectorIndexID on the active default MJ: AI Configurations row, or the sole vector index when VectorIndexes.length === 1.

      Returns null (and logs) when no default index can be unambiguously resolved; the caller decides what that means (creating an Entity Record Document treats it as a configuration error).

      Parameters

      • source: { ContentTypeID?: string; ID: string; VectorIndexID?: string }

      Returns Promise<string>