/
config.d.ts
50 lines (50 loc) · 1.35 KB
/
config.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
export interface Config {
search?: {
cognitiveSearch?: {
/**
* Azure cognitive search endpoint
* @visibility backend
*/
endpoint: string;
/**
* Cognintive search index name
* @visibility backend
*/
indexName?: string;
/**
* Cognintive search default analyzer name
* You can find the list of available analyzers in https://learn.microsoft.com/en-us/azure/search/index-add-language-analyzers#supported-language-analyzers
* default is en.lucene
* @visibility backend
*/
defaultAnalyzerName?: string;
/**
* Highlight options for cognitive search
* @visibility backend
*/
highlightOptions?: {
/**
* whether to use highlight or not
* @visibility backend
*/
useHighlight?: boolean;
}
/**
* Azure tenant id for application registration
* if you use managed identity, you don't need to configure tenantId/clientId/clientSecret.
* @visibility backend
*/
tenantId?: string;
/**
* Azure client id for application registration
* @visibility backend
*/
clientId?: string;
/**
* Azure client secret for application registration
* @visibility secret
*/
clientSecret?: string;
}
}
}