SAP AI SDK for JavaScript - v2.12.0
    Preparing search index...

    Type Alias SearchFilter

    SearchFilter: {
        chunkMetadata?: KeyValueListPair[];
        collectionIds: string[];
        collectionMetadata?: KeyValueListPair[];
        configuration: SearchConfiguration;
        documentMetadata?: SearchDocumentKeyValueListPair[];
        id: string;
    } & Record<string, any>

    Representation of the 'SearchFilter' schema.

    Type Declaration

    • OptionalchunkMetadata?: KeyValueListPair[]

      Restrict chunks considered during search to those with the given metadata. Default: []. Max Items: 2000.

    • collectionIds: string[]
    • OptionalcollectionMetadata?: KeyValueListPair[]

      Restrict collections considered during search to those annotated with the given metadata. Useful when combined with collections=['*'] Default: []. Max Items: 2000.

    • configuration: SearchConfiguration
    • OptionaldocumentMetadata?: SearchDocumentKeyValueListPair[]

      Restrict documents considered during search to those annotated with the given metadata. Default: []. Max Items: 2000.

    • id: string

      Identifier of this SearchFilter - unique per request.

      Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.