Member Junction
    Preparing search index...

    Enriches search results with entity icons, record names, and tags. Also handles filtering of redundant Content Item results that originate from entity-type content sources.

    Index

    Constructors

    Accessors

    Methods

    • Handles Content Item results by promoting entity-sourced content items to their underlying entity records (Option B), or excluding redundant entity-sourced items, while preserving genuine external unstructured content items (PDFs, URLs, Markdown files).

      When a content item originated from an Entity content source (or links to an Entity Record Document):

      1. If its underlying entity record can be resolved, it is promoted to that target entity (EntityName, RecordID), carrying its score and snippet forward, and marked with PromotedFromContentItemID so the engine verifies the origin row and its lane bound rather than trusting the provider that found the content item.
      2. If it cannot be resolved, it is excluded to avoid surfacing detached internal items.

      Genuine external content items (ContentSourceType !== 'Entity') remain as 'MJ: Content Items'.

      Parameters

      Returns Promise<SearchResultItem[]>

      Processed results with entity-sourced content items promoted or excluded