Pinecone TypeScript SDK - v9.0.0
    Preparing search index...

    Interface DeleteDocumentsOptions

    The request for the delete_documents operation. Exactly one of ids, filter, or delete_all must be specified.

    DeleteDocumentsRequest

    interface DeleteDocumentsOptions {
        deleteAll?: boolean;
        filter?: object;
        ids?: string[];
    }
    Index
    deleteAll?: boolean

    If true, delete all documents in the namespace. Mutually exclusive with ids and filter. false is treated as if the field were omitted.

    DeleteDocumentsRequest

    filter?: object

    A metadata filter expression selecting the documents to delete. Must not be empty; an empty filter is rejected rather than matching every document. To delete every document in the namespace, set delete_all. Text-match operators ($match_phrase, $match_all, $match_any) are not supported here, since documents are selected on metadata alone. Mutually exclusive with ids and delete_all.

    DeleteDocumentsRequest

    ids?: string[]

    A list of document IDs to delete. Mutually exclusive with filter and delete_all.

    DeleteDocumentsRequest