Member Junction
    Preparing search index...

    Function resolveQueryResultEnricher

    • Resolve the QueryResultEnricherBase registered under key via the MJGlobal ClassFactory, or null when nothing is registered (so MJCore / RunQuery no-op cleanly when the providing package isn't loaded).

      We check MJGlobal.ClassFactory.GetRegistration for an actual registration BEFORE constructing — CreateInstance would otherwise fall back to instantiating the abstract base, which is not what we want here. Mirrors the defensive resolution style of resolveMLInferenceProcessor in Predictive Studio's scoring layer.

      Parameters

      • key: string

        the EnricherKey to resolve

      Returns QueryResultEnricherBase