Member Junction
    Preparing search index...

    Interface MJContentTypeEntity_IContentTypeVectorMetadataConfig

    Content-type-level default for vector metadata shape. Structurally identical to IContentSourceConfiguration.VectorMetadata; a source's own setting overrides it.

    interface MJContentTypeEntity_IContentTypeVectorMetadataConfig {
        DefaultTruncationLimit?: number;
        Fields?: Record<
            string,
            MJContentTypeEntity_IContentTypeVectorMetadataFieldConfig,
        >;
        FieldStrategy?: "all"
        | "include"
        | "exclude"
        | "explicit";
        IncludeEntityIcon?: boolean;
        IncludeTags?: boolean;
        IncludeText?: boolean;
        IncludeUpdatedAt?: boolean;
    }
    Index

    Properties

    DefaultTruncationLimit?: number

    Global default truncation limit (characters) for large string fields. Default 1000.

    Fields?: Record<
        string,
        MJContentTypeEntity_IContentTypeVectorMetadataFieldConfig,
    >

    Per-field overrides keyed by ContentItem field name.

    FieldStrategy?: "all" | "include" | "exclude" | "explicit"

    Which ContentItem fields go into metadata (mirrors the entity pipeline). Unset ⇒ the curated default (identity + ContentSourceID/Type + Title / Description / URL + Tags).

    • 'all': every eligible ContentItem field. - 'include': only Fields marked Included.
    • 'exclude': all eligible except Fields marked Included:false. - 'explicit': exactly Fields, no system keys except Entity, toggles opt-in.
    IncludeEntityIcon?: boolean

    Include the content entity's icon. Default true under a set strategy; opt-in under 'explicit'.

    IncludeTags?: boolean

    Include the item's Tags array. Default true (and under the curated default); opt-in under 'explicit'.

    IncludeText?: boolean

    Include the embedded text under the 'Text' key. Default false. Honored under every strategy.

    IncludeUpdatedAt?: boolean

    Include __mj_UpdatedAt for recency sorting. Default true under a set strategy; opt-in under 'explicit'.