Member Junction
    Preparing search index...

    Params:

    • Autotag: Bit, if set to 1, will autotag content from all source types.
    • Vectorize: Bit, if set to 1, will embed tagged content items directly into the vector index.
    • EmbedPendingChunks: Bit (optional, default 0). If set to 1, (re)embeds persisted ContentItemChunk rows whose EmbeddingStatus is still 'Pending', upserting their vectors. Independent of the other phases — used for migration backfill and error recovery. Bounded by MaxItems.
    • Purge: Bit (optional, default 0). If set to 1, runs PurgeDeletedChunks after vectorization — removes the vectors of soft-deleted (superseded) ContentItemChunks from the 3rd-party store and flips those rows to 'Deleted'. Independent of Vectorize, so a purge-only run (Autotag=0, Vectorize=0, Purge=1 — e.g. scheduled cleanup) is valid. Bounded by MaxItems.

    All flag params accept 1/true as well as the string forms "1"/"true"/"yes" — the generic RunAction GraphQL mutation delivers every param value as a string, so strict numeric checks would silently skip phases for GQL callers (see flagIsSet).

    Uses plugin architecture: iterates all ContentSourceType records and resolves providers dynamically via ClassFactory using the DriverClass field.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    AuthorizesCaller: boolean

    True when the action authorizes its caller itself, so a public entry point such as the RunAction mutation may run it for an authenticated user without an MJ: Action Authorizations link. Set it only on an action that either checks an authorization the caller must hold, or reads and writes only with the caller's own permissions. Leave it false for an action that acts with more authority than its caller, or that reaches data or sends messages the caller chooses but could not otherwise reach.

    The engine reads the marker only from the class that runs, never from its parent classes. A subclass that overrides a marked action must declare the marker again.

    Accessors

    • get SupportsAudience(): boolean

      Whether this action can bound what it returns to an audience (RunActionParams.Audience): everyone besides the caller who will see its output, such as the other participants of a shared conversation.

      false by default, and the engine enforces it: when a run's audience adds a reader beyond the caller, ActionEngineServer.RunAction refuses the action with result code AUDIENCE_UNSUPPORTED, without running it. Override to return true only when the action honours the audience in full — every record, snippet and count it returns is something every reader may see (pass the audience to the search engine, check each reader's entitlement to anything it scopes by, and leave out aggregates computed before that filtering).

      Returns boolean

    Methods