@azure/search-documents 12.0.0 → 12.1.0-alpha.20240322.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -32
- package/dist/index.js +13767 -11641
- package/dist/index.js.map +1 -1
- package/dist-esm/src/constants.js +2 -1
- package/dist-esm/src/constants.js.map +1 -1
- package/dist-esm/src/errorModels.js +4 -0
- package/dist-esm/src/errorModels.js.map +1 -0
- package/dist-esm/src/generated/data/models/index.js +191 -7
- package/dist-esm/src/generated/data/models/index.js.map +1 -1
- package/dist-esm/src/generated/data/models/mappers.js +534 -294
- package/dist-esm/src/generated/data/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/data/models/parameters.js +254 -203
- package/dist-esm/src/generated/data/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/data/operations/documents.js +50 -45
- package/dist-esm/src/generated/data/operations/documents.js.map +1 -1
- package/dist-esm/src/generated/data/operationsInterfaces/documents.js.map +1 -1
- package/dist-esm/src/generated/data/searchClient.js +4 -4
- package/dist-esm/src/generated/data/searchClient.js.map +1 -1
- package/dist-esm/src/generated/service/models/index.js +176 -84
- package/dist-esm/src/generated/service/models/index.js.map +1 -1
- package/dist-esm/src/generated/service/models/mappers.js +2370 -1437
- package/dist-esm/src/generated/service/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/service/models/parameters.js +99 -49
- package/dist-esm/src/generated/service/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/service/operations/aliases.js +160 -0
- package/dist-esm/src/generated/service/operations/aliases.js.map +1 -0
- package/dist-esm/src/generated/service/operations/dataSources.js +26 -23
- package/dist-esm/src/generated/service/operations/dataSources.js.map +1 -1
- package/dist-esm/src/generated/service/operations/index.js +1 -0
- package/dist-esm/src/generated/service/operations/index.js.map +1 -1
- package/dist-esm/src/generated/service/operations/indexers.js +61 -33
- package/dist-esm/src/generated/service/operations/indexers.js.map +1 -1
- package/dist-esm/src/generated/service/operations/indexes.js +30 -30
- package/dist-esm/src/generated/service/operations/indexes.js.map +1 -1
- package/dist-esm/src/generated/service/operations/skillsets.js +52 -23
- package/dist-esm/src/generated/service/operations/skillsets.js.map +1 -1
- package/dist-esm/src/generated/service/operations/synonymMaps.js +22 -22
- package/dist-esm/src/generated/service/operations/synonymMaps.js.map +1 -1
- package/dist-esm/src/generated/service/operationsInterfaces/aliases.js +9 -0
- package/dist-esm/src/generated/service/operationsInterfaces/aliases.js.map +1 -0
- package/dist-esm/src/generated/service/operationsInterfaces/dataSources.js.map +1 -1
- package/dist-esm/src/generated/service/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/generated/service/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/generated/service/operationsInterfaces/indexers.js.map +1 -1
- package/dist-esm/src/generated/service/operationsInterfaces/indexes.js.map +1 -1
- package/dist-esm/src/generated/service/operationsInterfaces/skillsets.js.map +1 -1
- package/dist-esm/src/generated/service/operationsInterfaces/synonymMaps.js.map +1 -1
- package/dist-esm/src/generated/service/searchServiceClient.js +10 -9
- package/dist-esm/src/generated/service/searchServiceClient.js.map +1 -1
- package/dist-esm/src/generatedStringLiteralUnions.js +4 -0
- package/dist-esm/src/generatedStringLiteralUnions.js.map +1 -0
- package/dist-esm/src/index.js +9 -9
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/indexDocumentsBatch.js.map +1 -1
- package/dist-esm/src/indexModels.js.map +1 -1
- package/dist-esm/src/odata.js.map +1 -1
- package/dist-esm/src/odataMetadataPolicy.js.map +1 -1
- package/dist-esm/src/searchApiKeyCredentialPolicy.js.map +1 -1
- package/dist-esm/src/searchClient.js +23 -17
- package/dist-esm/src/searchClient.js.map +1 -1
- package/dist-esm/src/searchIndexClient.js +155 -6
- package/dist-esm/src/searchIndexClient.js.map +1 -1
- package/dist-esm/src/searchIndexerClient.js +53 -4
- package/dist-esm/src/searchIndexerClient.js.map +1 -1
- package/dist-esm/src/searchIndexingBufferedSender.js +3 -8
- package/dist-esm/src/searchIndexingBufferedSender.js.map +1 -1
- package/dist-esm/src/serialization.js.map +1 -1
- package/dist-esm/src/serviceModels.js.map +1 -1
- package/dist-esm/src/serviceUtils.js +71 -26
- package/dist-esm/src/serviceUtils.js.map +1 -1
- package/dist-esm/src/synonymMapHelper.browser.js.map +1 -1
- package/dist-esm/src/synonymMapHelper.js +1 -1
- package/dist-esm/src/synonymMapHelper.js.map +1 -1
- package/dist-esm/src/tracing.js +1 -1
- package/dist-esm/src/tracing.js.map +1 -1
- package/package.json +40 -41
- package/types/search-documents.d.ts +1655 -152
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { SearchRequest as SearchRequestMapper, SuggestRequest as SuggestRequestMapper, IndexBatch as IndexBatchMapper, AutocompleteRequest as AutocompleteRequestMapper } from "../models/mappers";
|
|
8
|
+
import { SearchRequest as SearchRequestMapper, SuggestRequest as SuggestRequestMapper, IndexBatch as IndexBatchMapper, AutocompleteRequest as AutocompleteRequestMapper, } from "../models/mappers";
|
|
9
9
|
export const accept = {
|
|
10
10
|
parameterPath: "accept",
|
|
11
11
|
mapper: {
|
|
@@ -13,9 +13,9 @@ export const accept = {
|
|
|
13
13
|
isConstant: true,
|
|
14
14
|
serializedName: "Accept",
|
|
15
15
|
type: {
|
|
16
|
-
name: "String"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
16
|
+
name: "String",
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
19
|
};
|
|
20
20
|
export const endpoint = {
|
|
21
21
|
parameterPath: "endpoint",
|
|
@@ -23,10 +23,10 @@ export const endpoint = {
|
|
|
23
23
|
serializedName: "endpoint",
|
|
24
24
|
required: true,
|
|
25
25
|
type: {
|
|
26
|
-
name: "String"
|
|
27
|
-
}
|
|
26
|
+
name: "String",
|
|
27
|
+
},
|
|
28
28
|
},
|
|
29
|
-
skipEncoding: true
|
|
29
|
+
skipEncoding: true,
|
|
30
30
|
};
|
|
31
31
|
export const indexName = {
|
|
32
32
|
parameterPath: "indexName",
|
|
@@ -34,9 +34,9 @@ export const indexName = {
|
|
|
34
34
|
serializedName: "indexName",
|
|
35
35
|
required: true,
|
|
36
36
|
type: {
|
|
37
|
-
name: "String"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
37
|
+
name: "String",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
40
|
};
|
|
41
41
|
export const apiVersion = {
|
|
42
42
|
parameterPath: "apiVersion",
|
|
@@ -44,27 +44,27 @@ export const apiVersion = {
|
|
|
44
44
|
serializedName: "api-version",
|
|
45
45
|
required: true,
|
|
46
46
|
type: {
|
|
47
|
-
name: "String"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
47
|
+
name: "String",
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
50
|
};
|
|
51
51
|
export const searchText = {
|
|
52
52
|
parameterPath: ["options", "searchText"],
|
|
53
53
|
mapper: {
|
|
54
54
|
serializedName: "search",
|
|
55
55
|
type: {
|
|
56
|
-
name: "String"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
56
|
+
name: "String",
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
59
|
};
|
|
60
60
|
export const includeTotalResultCount = {
|
|
61
61
|
parameterPath: ["options", "searchOptions", "includeTotalResultCount"],
|
|
62
62
|
mapper: {
|
|
63
63
|
serializedName: "$count",
|
|
64
64
|
type: {
|
|
65
|
-
name: "Boolean"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
65
|
+
name: "Boolean",
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
68
|
};
|
|
69
69
|
export const facets = {
|
|
70
70
|
parameterPath: ["options", "searchOptions", "facets"],
|
|
@@ -74,21 +74,21 @@ export const facets = {
|
|
|
74
74
|
name: "Sequence",
|
|
75
75
|
element: {
|
|
76
76
|
type: {
|
|
77
|
-
name: "String"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
77
|
+
name: "String",
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
81
|
},
|
|
82
|
-
collectionFormat: "Multi"
|
|
82
|
+
collectionFormat: "Multi",
|
|
83
83
|
};
|
|
84
84
|
export const filter = {
|
|
85
85
|
parameterPath: ["options", "searchOptions", "filter"],
|
|
86
86
|
mapper: {
|
|
87
87
|
serializedName: "$filter",
|
|
88
88
|
type: {
|
|
89
|
-
name: "String"
|
|
90
|
-
}
|
|
91
|
-
}
|
|
89
|
+
name: "String",
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
92
|
};
|
|
93
93
|
export const highlightFields = {
|
|
94
94
|
parameterPath: ["options", "searchOptions", "highlightFields"],
|
|
@@ -98,39 +98,39 @@ export const highlightFields = {
|
|
|
98
98
|
name: "Sequence",
|
|
99
99
|
element: {
|
|
100
100
|
type: {
|
|
101
|
-
name: "String"
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
101
|
+
name: "String",
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
105
|
},
|
|
106
|
-
collectionFormat: "CSV"
|
|
106
|
+
collectionFormat: "CSV",
|
|
107
107
|
};
|
|
108
108
|
export const highlightPostTag = {
|
|
109
109
|
parameterPath: ["options", "searchOptions", "highlightPostTag"],
|
|
110
110
|
mapper: {
|
|
111
111
|
serializedName: "highlightPostTag",
|
|
112
112
|
type: {
|
|
113
|
-
name: "String"
|
|
114
|
-
}
|
|
115
|
-
}
|
|
113
|
+
name: "String",
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
116
|
};
|
|
117
117
|
export const highlightPreTag = {
|
|
118
118
|
parameterPath: ["options", "searchOptions", "highlightPreTag"],
|
|
119
119
|
mapper: {
|
|
120
120
|
serializedName: "highlightPreTag",
|
|
121
121
|
type: {
|
|
122
|
-
name: "String"
|
|
123
|
-
}
|
|
124
|
-
}
|
|
122
|
+
name: "String",
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
125
|
};
|
|
126
126
|
export const minimumCoverage = {
|
|
127
127
|
parameterPath: ["options", "searchOptions", "minimumCoverage"],
|
|
128
128
|
mapper: {
|
|
129
129
|
serializedName: "minimumCoverage",
|
|
130
130
|
type: {
|
|
131
|
-
name: "Number"
|
|
132
|
-
}
|
|
133
|
-
}
|
|
131
|
+
name: "Number",
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
134
|
};
|
|
135
135
|
export const orderBy = {
|
|
136
136
|
parameterPath: ["options", "searchOptions", "orderBy"],
|
|
@@ -140,12 +140,12 @@ export const orderBy = {
|
|
|
140
140
|
name: "Sequence",
|
|
141
141
|
element: {
|
|
142
142
|
type: {
|
|
143
|
-
name: "String"
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
143
|
+
name: "String",
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
147
|
},
|
|
148
|
-
collectionFormat: "CSV"
|
|
148
|
+
collectionFormat: "CSV",
|
|
149
149
|
};
|
|
150
150
|
export const queryType = {
|
|
151
151
|
parameterPath: ["options", "searchOptions", "queryType"],
|
|
@@ -153,9 +153,9 @@ export const queryType = {
|
|
|
153
153
|
serializedName: "queryType",
|
|
154
154
|
type: {
|
|
155
155
|
name: "Enum",
|
|
156
|
-
allowedValues: ["simple", "full", "semantic"]
|
|
157
|
-
}
|
|
158
|
-
}
|
|
156
|
+
allowedValues: ["simple", "full", "semantic"],
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
159
|
};
|
|
160
160
|
export const scoringParameters = {
|
|
161
161
|
parameterPath: ["options", "searchOptions", "scoringParameters"],
|
|
@@ -165,21 +165,69 @@ export const scoringParameters = {
|
|
|
165
165
|
name: "Sequence",
|
|
166
166
|
element: {
|
|
167
167
|
type: {
|
|
168
|
-
name: "String"
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
168
|
+
name: "String",
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
172
|
},
|
|
173
|
-
collectionFormat: "Multi"
|
|
173
|
+
collectionFormat: "Multi",
|
|
174
174
|
};
|
|
175
175
|
export const scoringProfile = {
|
|
176
176
|
parameterPath: ["options", "searchOptions", "scoringProfile"],
|
|
177
177
|
mapper: {
|
|
178
178
|
serializedName: "scoringProfile",
|
|
179
179
|
type: {
|
|
180
|
-
name: "String"
|
|
181
|
-
}
|
|
182
|
-
}
|
|
180
|
+
name: "String",
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
};
|
|
184
|
+
export const semanticQuery = {
|
|
185
|
+
parameterPath: ["options", "searchOptions", "semanticQuery"],
|
|
186
|
+
mapper: {
|
|
187
|
+
serializedName: "semanticQuery",
|
|
188
|
+
type: {
|
|
189
|
+
name: "String",
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
|
+
};
|
|
193
|
+
export const semanticConfiguration = {
|
|
194
|
+
parameterPath: ["options", "searchOptions", "semanticConfiguration"],
|
|
195
|
+
mapper: {
|
|
196
|
+
serializedName: "semanticConfiguration",
|
|
197
|
+
type: {
|
|
198
|
+
name: "String",
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
};
|
|
202
|
+
export const semanticErrorHandling = {
|
|
203
|
+
parameterPath: ["options", "searchOptions", "semanticErrorHandling"],
|
|
204
|
+
mapper: {
|
|
205
|
+
serializedName: "semanticErrorHandling",
|
|
206
|
+
type: {
|
|
207
|
+
name: "String",
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
};
|
|
211
|
+
export const semanticMaxWaitInMilliseconds = {
|
|
212
|
+
parameterPath: ["options", "searchOptions", "semanticMaxWaitInMilliseconds"],
|
|
213
|
+
mapper: {
|
|
214
|
+
constraints: {
|
|
215
|
+
InclusiveMinimum: 700,
|
|
216
|
+
},
|
|
217
|
+
serializedName: "semanticMaxWaitInMilliseconds",
|
|
218
|
+
type: {
|
|
219
|
+
name: "Number",
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
};
|
|
223
|
+
export const debug = {
|
|
224
|
+
parameterPath: ["options", "searchOptions", "debug"],
|
|
225
|
+
mapper: {
|
|
226
|
+
serializedName: "debug",
|
|
227
|
+
type: {
|
|
228
|
+
name: "String",
|
|
229
|
+
},
|
|
230
|
+
},
|
|
183
231
|
};
|
|
184
232
|
export const searchFields = {
|
|
185
233
|
parameterPath: ["options", "searchOptions", "searchFields"],
|
|
@@ -189,12 +237,39 @@ export const searchFields = {
|
|
|
189
237
|
name: "Sequence",
|
|
190
238
|
element: {
|
|
191
239
|
type: {
|
|
192
|
-
name: "String"
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
240
|
+
name: "String",
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
collectionFormat: "CSV",
|
|
246
|
+
};
|
|
247
|
+
export const queryLanguage = {
|
|
248
|
+
parameterPath: ["options", "searchOptions", "queryLanguage"],
|
|
249
|
+
mapper: {
|
|
250
|
+
serializedName: "queryLanguage",
|
|
251
|
+
type: {
|
|
252
|
+
name: "String",
|
|
253
|
+
},
|
|
254
|
+
},
|
|
255
|
+
};
|
|
256
|
+
export const speller = {
|
|
257
|
+
parameterPath: ["options", "searchOptions", "speller"],
|
|
258
|
+
mapper: {
|
|
259
|
+
serializedName: "speller",
|
|
260
|
+
type: {
|
|
261
|
+
name: "String",
|
|
262
|
+
},
|
|
263
|
+
},
|
|
264
|
+
};
|
|
265
|
+
export const answers = {
|
|
266
|
+
parameterPath: ["options", "searchOptions", "answers"],
|
|
267
|
+
mapper: {
|
|
268
|
+
serializedName: "answers",
|
|
269
|
+
type: {
|
|
270
|
+
name: "String",
|
|
271
|
+
},
|
|
196
272
|
},
|
|
197
|
-
collectionFormat: "CSV"
|
|
198
273
|
};
|
|
199
274
|
export const searchMode = {
|
|
200
275
|
parameterPath: ["options", "searchOptions", "searchMode"],
|
|
@@ -202,9 +277,9 @@ export const searchMode = {
|
|
|
202
277
|
serializedName: "searchMode",
|
|
203
278
|
type: {
|
|
204
279
|
name: "Enum",
|
|
205
|
-
allowedValues: ["any", "all"]
|
|
206
|
-
}
|
|
207
|
-
}
|
|
280
|
+
allowedValues: ["any", "all"],
|
|
281
|
+
},
|
|
282
|
+
},
|
|
208
283
|
};
|
|
209
284
|
export const scoringStatistics = {
|
|
210
285
|
parameterPath: ["options", "searchOptions", "scoringStatistics"],
|
|
@@ -212,18 +287,18 @@ export const scoringStatistics = {
|
|
|
212
287
|
serializedName: "scoringStatistics",
|
|
213
288
|
type: {
|
|
214
289
|
name: "Enum",
|
|
215
|
-
allowedValues: ["local", "global"]
|
|
216
|
-
}
|
|
217
|
-
}
|
|
290
|
+
allowedValues: ["local", "global"],
|
|
291
|
+
},
|
|
292
|
+
},
|
|
218
293
|
};
|
|
219
294
|
export const sessionId = {
|
|
220
295
|
parameterPath: ["options", "searchOptions", "sessionId"],
|
|
221
296
|
mapper: {
|
|
222
297
|
serializedName: "sessionId",
|
|
223
298
|
type: {
|
|
224
|
-
name: "String"
|
|
225
|
-
}
|
|
226
|
-
}
|
|
299
|
+
name: "String",
|
|
300
|
+
},
|
|
301
|
+
},
|
|
227
302
|
};
|
|
228
303
|
export const select = {
|
|
229
304
|
parameterPath: ["options", "searchOptions", "select"],
|
|
@@ -233,78 +308,54 @@ export const select = {
|
|
|
233
308
|
name: "Sequence",
|
|
234
309
|
element: {
|
|
235
310
|
type: {
|
|
236
|
-
name: "String"
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
}
|
|
311
|
+
name: "String",
|
|
312
|
+
},
|
|
313
|
+
},
|
|
314
|
+
},
|
|
240
315
|
},
|
|
241
|
-
collectionFormat: "CSV"
|
|
316
|
+
collectionFormat: "CSV",
|
|
242
317
|
};
|
|
243
318
|
export const skip = {
|
|
244
319
|
parameterPath: ["options", "searchOptions", "skip"],
|
|
245
320
|
mapper: {
|
|
246
321
|
serializedName: "$skip",
|
|
247
322
|
type: {
|
|
248
|
-
name: "Number"
|
|
249
|
-
}
|
|
250
|
-
}
|
|
323
|
+
name: "Number",
|
|
324
|
+
},
|
|
325
|
+
},
|
|
251
326
|
};
|
|
252
327
|
export const top = {
|
|
253
328
|
parameterPath: ["options", "searchOptions", "top"],
|
|
254
329
|
mapper: {
|
|
255
330
|
serializedName: "$top",
|
|
256
331
|
type: {
|
|
257
|
-
name: "Number"
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
};
|
|
261
|
-
export const semanticConfiguration = {
|
|
262
|
-
parameterPath: ["options", "searchOptions", "semanticConfiguration"],
|
|
263
|
-
mapper: {
|
|
264
|
-
serializedName: "semanticConfiguration",
|
|
265
|
-
type: {
|
|
266
|
-
name: "String"
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
};
|
|
270
|
-
export const semanticErrorHandling = {
|
|
271
|
-
parameterPath: ["options", "searchOptions", "semanticErrorHandling"],
|
|
272
|
-
mapper: {
|
|
273
|
-
serializedName: "semanticErrorHandling",
|
|
274
|
-
type: {
|
|
275
|
-
name: "String"
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
};
|
|
279
|
-
export const semanticMaxWaitInMilliseconds = {
|
|
280
|
-
parameterPath: ["options", "searchOptions", "semanticMaxWaitInMilliseconds"],
|
|
281
|
-
mapper: {
|
|
282
|
-
constraints: {
|
|
283
|
-
InclusiveMinimum: 700
|
|
332
|
+
name: "Number",
|
|
284
333
|
},
|
|
285
|
-
|
|
286
|
-
type: {
|
|
287
|
-
name: "Number"
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
};
|
|
291
|
-
export const answers = {
|
|
292
|
-
parameterPath: ["options", "searchOptions", "answers"],
|
|
293
|
-
mapper: {
|
|
294
|
-
serializedName: "answers",
|
|
295
|
-
type: {
|
|
296
|
-
name: "String"
|
|
297
|
-
}
|
|
298
|
-
}
|
|
334
|
+
},
|
|
299
335
|
};
|
|
300
336
|
export const captions = {
|
|
301
337
|
parameterPath: ["options", "searchOptions", "captions"],
|
|
302
338
|
mapper: {
|
|
303
339
|
serializedName: "captions",
|
|
304
340
|
type: {
|
|
305
|
-
name: "String"
|
|
306
|
-
}
|
|
307
|
-
}
|
|
341
|
+
name: "String",
|
|
342
|
+
},
|
|
343
|
+
},
|
|
344
|
+
};
|
|
345
|
+
export const semanticFields = {
|
|
346
|
+
parameterPath: ["options", "searchOptions", "semanticFields"],
|
|
347
|
+
mapper: {
|
|
348
|
+
serializedName: "semanticFields",
|
|
349
|
+
type: {
|
|
350
|
+
name: "Sequence",
|
|
351
|
+
element: {
|
|
352
|
+
type: {
|
|
353
|
+
name: "String",
|
|
354
|
+
},
|
|
355
|
+
},
|
|
356
|
+
},
|
|
357
|
+
},
|
|
358
|
+
collectionFormat: "CSV",
|
|
308
359
|
};
|
|
309
360
|
export const contentType = {
|
|
310
361
|
parameterPath: ["options", "contentType"],
|
|
@@ -313,13 +364,13 @@ export const contentType = {
|
|
|
313
364
|
isConstant: true,
|
|
314
365
|
serializedName: "Content-Type",
|
|
315
366
|
type: {
|
|
316
|
-
name: "String"
|
|
317
|
-
}
|
|
318
|
-
}
|
|
367
|
+
name: "String",
|
|
368
|
+
},
|
|
369
|
+
},
|
|
319
370
|
};
|
|
320
371
|
export const searchRequest = {
|
|
321
372
|
parameterPath: "searchRequest",
|
|
322
|
-
mapper: SearchRequestMapper
|
|
373
|
+
mapper: SearchRequestMapper,
|
|
323
374
|
};
|
|
324
375
|
export const key = {
|
|
325
376
|
parameterPath: "key",
|
|
@@ -327,9 +378,9 @@ export const key = {
|
|
|
327
378
|
serializedName: "key",
|
|
328
379
|
required: true,
|
|
329
380
|
type: {
|
|
330
|
-
name: "String"
|
|
331
|
-
}
|
|
332
|
-
}
|
|
381
|
+
name: "String",
|
|
382
|
+
},
|
|
383
|
+
},
|
|
333
384
|
};
|
|
334
385
|
export const selectedFields = {
|
|
335
386
|
parameterPath: ["options", "selectedFields"],
|
|
@@ -339,12 +390,12 @@ export const selectedFields = {
|
|
|
339
390
|
name: "Sequence",
|
|
340
391
|
element: {
|
|
341
392
|
type: {
|
|
342
|
-
name: "String"
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
}
|
|
393
|
+
name: "String",
|
|
394
|
+
},
|
|
395
|
+
},
|
|
396
|
+
},
|
|
346
397
|
},
|
|
347
|
-
collectionFormat: "CSV"
|
|
398
|
+
collectionFormat: "CSV",
|
|
348
399
|
};
|
|
349
400
|
export const searchText1 = {
|
|
350
401
|
parameterPath: "searchText",
|
|
@@ -352,9 +403,9 @@ export const searchText1 = {
|
|
|
352
403
|
serializedName: "search",
|
|
353
404
|
required: true,
|
|
354
405
|
type: {
|
|
355
|
-
name: "String"
|
|
356
|
-
}
|
|
357
|
-
}
|
|
406
|
+
name: "String",
|
|
407
|
+
},
|
|
408
|
+
},
|
|
358
409
|
};
|
|
359
410
|
export const suggesterName = {
|
|
360
411
|
parameterPath: "suggesterName",
|
|
@@ -362,54 +413,54 @@ export const suggesterName = {
|
|
|
362
413
|
serializedName: "suggesterName",
|
|
363
414
|
required: true,
|
|
364
415
|
type: {
|
|
365
|
-
name: "String"
|
|
366
|
-
}
|
|
367
|
-
}
|
|
416
|
+
name: "String",
|
|
417
|
+
},
|
|
418
|
+
},
|
|
368
419
|
};
|
|
369
420
|
export const filter1 = {
|
|
370
421
|
parameterPath: ["options", "suggestOptions", "filter"],
|
|
371
422
|
mapper: {
|
|
372
423
|
serializedName: "$filter",
|
|
373
424
|
type: {
|
|
374
|
-
name: "String"
|
|
375
|
-
}
|
|
376
|
-
}
|
|
425
|
+
name: "String",
|
|
426
|
+
},
|
|
427
|
+
},
|
|
377
428
|
};
|
|
378
429
|
export const useFuzzyMatching = {
|
|
379
430
|
parameterPath: ["options", "suggestOptions", "useFuzzyMatching"],
|
|
380
431
|
mapper: {
|
|
381
432
|
serializedName: "fuzzy",
|
|
382
433
|
type: {
|
|
383
|
-
name: "Boolean"
|
|
384
|
-
}
|
|
385
|
-
}
|
|
434
|
+
name: "Boolean",
|
|
435
|
+
},
|
|
436
|
+
},
|
|
386
437
|
};
|
|
387
438
|
export const highlightPostTag1 = {
|
|
388
439
|
parameterPath: ["options", "suggestOptions", "highlightPostTag"],
|
|
389
440
|
mapper: {
|
|
390
441
|
serializedName: "highlightPostTag",
|
|
391
442
|
type: {
|
|
392
|
-
name: "String"
|
|
393
|
-
}
|
|
394
|
-
}
|
|
443
|
+
name: "String",
|
|
444
|
+
},
|
|
445
|
+
},
|
|
395
446
|
};
|
|
396
447
|
export const highlightPreTag1 = {
|
|
397
448
|
parameterPath: ["options", "suggestOptions", "highlightPreTag"],
|
|
398
449
|
mapper: {
|
|
399
450
|
serializedName: "highlightPreTag",
|
|
400
451
|
type: {
|
|
401
|
-
name: "String"
|
|
402
|
-
}
|
|
403
|
-
}
|
|
452
|
+
name: "String",
|
|
453
|
+
},
|
|
454
|
+
},
|
|
404
455
|
};
|
|
405
456
|
export const minimumCoverage1 = {
|
|
406
457
|
parameterPath: ["options", "suggestOptions", "minimumCoverage"],
|
|
407
458
|
mapper: {
|
|
408
459
|
serializedName: "minimumCoverage",
|
|
409
460
|
type: {
|
|
410
|
-
name: "Number"
|
|
411
|
-
}
|
|
412
|
-
}
|
|
461
|
+
name: "Number",
|
|
462
|
+
},
|
|
463
|
+
},
|
|
413
464
|
};
|
|
414
465
|
export const orderBy1 = {
|
|
415
466
|
parameterPath: ["options", "suggestOptions", "orderBy"],
|
|
@@ -419,12 +470,12 @@ export const orderBy1 = {
|
|
|
419
470
|
name: "Sequence",
|
|
420
471
|
element: {
|
|
421
472
|
type: {
|
|
422
|
-
name: "String"
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
}
|
|
473
|
+
name: "String",
|
|
474
|
+
},
|
|
475
|
+
},
|
|
476
|
+
},
|
|
426
477
|
},
|
|
427
|
-
collectionFormat: "CSV"
|
|
478
|
+
collectionFormat: "CSV",
|
|
428
479
|
};
|
|
429
480
|
export const searchFields1 = {
|
|
430
481
|
parameterPath: ["options", "suggestOptions", "searchFields"],
|
|
@@ -434,12 +485,12 @@ export const searchFields1 = {
|
|
|
434
485
|
name: "Sequence",
|
|
435
486
|
element: {
|
|
436
487
|
type: {
|
|
437
|
-
name: "String"
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
}
|
|
488
|
+
name: "String",
|
|
489
|
+
},
|
|
490
|
+
},
|
|
491
|
+
},
|
|
441
492
|
},
|
|
442
|
-
collectionFormat: "CSV"
|
|
493
|
+
collectionFormat: "CSV",
|
|
443
494
|
};
|
|
444
495
|
export const select1 = {
|
|
445
496
|
parameterPath: ["options", "suggestOptions", "select"],
|
|
@@ -449,29 +500,29 @@ export const select1 = {
|
|
|
449
500
|
name: "Sequence",
|
|
450
501
|
element: {
|
|
451
502
|
type: {
|
|
452
|
-
name: "String"
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
}
|
|
503
|
+
name: "String",
|
|
504
|
+
},
|
|
505
|
+
},
|
|
506
|
+
},
|
|
456
507
|
},
|
|
457
|
-
collectionFormat: "CSV"
|
|
508
|
+
collectionFormat: "CSV",
|
|
458
509
|
};
|
|
459
510
|
export const top1 = {
|
|
460
511
|
parameterPath: ["options", "suggestOptions", "top"],
|
|
461
512
|
mapper: {
|
|
462
513
|
serializedName: "$top",
|
|
463
514
|
type: {
|
|
464
|
-
name: "Number"
|
|
465
|
-
}
|
|
466
|
-
}
|
|
515
|
+
name: "Number",
|
|
516
|
+
},
|
|
517
|
+
},
|
|
467
518
|
};
|
|
468
519
|
export const suggestRequest = {
|
|
469
520
|
parameterPath: "suggestRequest",
|
|
470
|
-
mapper: SuggestRequestMapper
|
|
521
|
+
mapper: SuggestRequestMapper,
|
|
471
522
|
};
|
|
472
523
|
export const batch = {
|
|
473
524
|
parameterPath: "batch",
|
|
474
|
-
mapper: IndexBatchMapper
|
|
525
|
+
mapper: IndexBatchMapper,
|
|
475
526
|
};
|
|
476
527
|
export const autocompleteMode = {
|
|
477
528
|
parameterPath: ["options", "autocompleteOptions", "autocompleteMode"],
|
|
@@ -479,54 +530,54 @@ export const autocompleteMode = {
|
|
|
479
530
|
serializedName: "autocompleteMode",
|
|
480
531
|
type: {
|
|
481
532
|
name: "Enum",
|
|
482
|
-
allowedValues: ["oneTerm", "twoTerms", "oneTermWithContext"]
|
|
483
|
-
}
|
|
484
|
-
}
|
|
533
|
+
allowedValues: ["oneTerm", "twoTerms", "oneTermWithContext"],
|
|
534
|
+
},
|
|
535
|
+
},
|
|
485
536
|
};
|
|
486
537
|
export const filter2 = {
|
|
487
538
|
parameterPath: ["options", "autocompleteOptions", "filter"],
|
|
488
539
|
mapper: {
|
|
489
540
|
serializedName: "$filter",
|
|
490
541
|
type: {
|
|
491
|
-
name: "String"
|
|
492
|
-
}
|
|
493
|
-
}
|
|
542
|
+
name: "String",
|
|
543
|
+
},
|
|
544
|
+
},
|
|
494
545
|
};
|
|
495
546
|
export const useFuzzyMatching1 = {
|
|
496
547
|
parameterPath: ["options", "autocompleteOptions", "useFuzzyMatching"],
|
|
497
548
|
mapper: {
|
|
498
549
|
serializedName: "fuzzy",
|
|
499
550
|
type: {
|
|
500
|
-
name: "Boolean"
|
|
501
|
-
}
|
|
502
|
-
}
|
|
551
|
+
name: "Boolean",
|
|
552
|
+
},
|
|
553
|
+
},
|
|
503
554
|
};
|
|
504
555
|
export const highlightPostTag2 = {
|
|
505
556
|
parameterPath: ["options", "autocompleteOptions", "highlightPostTag"],
|
|
506
557
|
mapper: {
|
|
507
558
|
serializedName: "highlightPostTag",
|
|
508
559
|
type: {
|
|
509
|
-
name: "String"
|
|
510
|
-
}
|
|
511
|
-
}
|
|
560
|
+
name: "String",
|
|
561
|
+
},
|
|
562
|
+
},
|
|
512
563
|
};
|
|
513
564
|
export const highlightPreTag2 = {
|
|
514
565
|
parameterPath: ["options", "autocompleteOptions", "highlightPreTag"],
|
|
515
566
|
mapper: {
|
|
516
567
|
serializedName: "highlightPreTag",
|
|
517
568
|
type: {
|
|
518
|
-
name: "String"
|
|
519
|
-
}
|
|
520
|
-
}
|
|
569
|
+
name: "String",
|
|
570
|
+
},
|
|
571
|
+
},
|
|
521
572
|
};
|
|
522
573
|
export const minimumCoverage2 = {
|
|
523
574
|
parameterPath: ["options", "autocompleteOptions", "minimumCoverage"],
|
|
524
575
|
mapper: {
|
|
525
576
|
serializedName: "minimumCoverage",
|
|
526
577
|
type: {
|
|
527
|
-
name: "Number"
|
|
528
|
-
}
|
|
529
|
-
}
|
|
578
|
+
name: "Number",
|
|
579
|
+
},
|
|
580
|
+
},
|
|
530
581
|
};
|
|
531
582
|
export const searchFields2 = {
|
|
532
583
|
parameterPath: ["options", "autocompleteOptions", "searchFields"],
|
|
@@ -536,24 +587,24 @@ export const searchFields2 = {
|
|
|
536
587
|
name: "Sequence",
|
|
537
588
|
element: {
|
|
538
589
|
type: {
|
|
539
|
-
name: "String"
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
}
|
|
590
|
+
name: "String",
|
|
591
|
+
},
|
|
592
|
+
},
|
|
593
|
+
},
|
|
543
594
|
},
|
|
544
|
-
collectionFormat: "CSV"
|
|
595
|
+
collectionFormat: "CSV",
|
|
545
596
|
};
|
|
546
597
|
export const top2 = {
|
|
547
598
|
parameterPath: ["options", "autocompleteOptions", "top"],
|
|
548
599
|
mapper: {
|
|
549
600
|
serializedName: "$top",
|
|
550
601
|
type: {
|
|
551
|
-
name: "Number"
|
|
552
|
-
}
|
|
553
|
-
}
|
|
602
|
+
name: "Number",
|
|
603
|
+
},
|
|
604
|
+
},
|
|
554
605
|
};
|
|
555
606
|
export const autocompleteRequest = {
|
|
556
607
|
parameterPath: "autocompleteRequest",
|
|
557
|
-
mapper: AutocompleteRequestMapper
|
|
608
|
+
mapper: AutocompleteRequestMapper,
|
|
558
609
|
};
|
|
559
610
|
//# sourceMappingURL=parameters.js.map
|