Member Junction
    Preparing search index...
    interface EntityDocumentFieldConfig {
        included?: boolean;
        isDisplayTitle?: boolean;
        isSnippetField?: boolean;
        storeAs?:
            | "string"
            | "number"
            | "boolean"
            | "epochSeconds"
            | "epochMilliseconds";
        truncationLimit?: number;
    }
    Index

    Properties

    included?: boolean

    Whether this field is included in vector metadata. Used with "include" strategy to explicitly list fields, or with "exclude" strategy to mark specific fields for exclusion. Under "all" strategy, set to false to exclude a specific field.

    isDisplayTitle?: boolean

    Whether this field should be used as the primary display title in search result cards. At most one field should be marked. If none are marked, the system uses IsNameField from entity metadata.

    isSnippetField?: boolean

    Whether this field should be used as the snippet/preview text in search result cards. At most one field should be marked.

    storeAs?: "string" | "number" | "boolean" | "epochSeconds" | "epochMilliseconds"

    How to store this field's value in vector metadata.

    • 'string' (default): coerce to string via String(val), with truncation applied.
    • 'number': store as a JS number via Number(val). Skipped when NaN.
    • 'boolean': store as a JS boolean via Boolean(val).
    • 'epochSeconds': parse val as a date and store Unix epoch seconds (integer). Use for datetime/datetimeoffset fields — enables numeric range filters in Pinecone.
    • 'epochMilliseconds': same as epochSeconds but millisecond precision.

    SQL integer/float column types are stored as numbers automatically with no explicit setting needed. Use this option only when you need to override the default or convert a date to a numeric epoch.

    truncationLimit?: number

    Override the truncation limit for this specific field (in characters). Only applies to large text fields. NULL means use the global defaultTruncationLimit.