Interface ExternalApiElasticSearchParams

The search parameters to use for the ELASTIC_SEARCH spec.

interface ExternalApiElasticSearchParams {
    index?: string;
    numHits?: number;
    searchTemplate?: string;
}

Properties

index?: string

The ElasticSearch index to use.

numHits?: number

Optional. Number of hits (chunks) to request. When specified, it is passed to Elasticsearch as the num_hits param.

searchTemplate?: string

The ElasticSearch search template to use.