UNPKG

683 BTypeScriptView Raw
1import { Cluster } from './cluster';
2import { SearchQuery } from './searchquery';
3import { SearchMetaData, SearchQueryOptions, SearchRequest, SearchResult, SearchRow } from './searchtypes';
4import { StreamableRowPromise } from './streamablepromises';
5/**
6 * @internal
7 */
8export declare class SearchExecutor {
9 private _cluster;
10 private _bucketName;
11 private _scopeName;
12 /**
13 * @internal
14 */
15 constructor(cluster: Cluster, bucketName?: string, scopeName?: string);
16 /**
17 * @internal
18 */
19 query(indexName: string, query: SearchQuery | SearchRequest, options: SearchQueryOptions): StreamableRowPromise<SearchResult, SearchRow, SearchMetaData>;
20}