# Type Alias RetrievalSearchConfiguration

RetrievalSearchConfiguration:
| { maxChunkCount?: number
| null; maxDocumentCount?: number | null } & Record<string, any>
| null

Representation of the 'RetrievalSearchConfiguration' schema. Default: {}.

#### Type Declaration

- { maxChunkCount?: number | null; maxDocumentCount?: number | null } & Record<
  string,
  any,
  >

  - ##### `Optional` maxChunkCount?: number | null

    Maximum number of chunks to be returned. Cannot be used with 'maxDocumentCount'. Maximum: 10000000.

  - ##### `Optional` maxDocumentCount?: number | null

    [Only supports 'vector' dataRepositoryType] - Maximum number of documents to be returned. Cannot be used with 'maxChunkCount'. If maxDocumentCount is given, then only one chunk per document is returned. Maximum: 10000000.

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

- null

- Defined in packages/document-grounding/dist/client/api/schema/retrieval-search-configuration.d.ts:5