@azure/search-documents 12.2.0-beta.2 → 12.2.0

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.
Files changed (844) hide show
  1. package/LICENSE +3 -3
  2. package/README.md +208 -232
  3. package/dist/browser/base64-browser.d.mts.map +1 -0
  4. package/dist/browser/base64-browser.mjs.map +1 -0
  5. package/dist/browser/base64.d.ts +11 -0
  6. package/{dist-esm/src/base64.browser.js → dist/browser/base64.js} +1 -1
  7. package/dist/browser/errorModels.d.ts +50 -0
  8. package/dist/browser/errorModels.d.ts.map +1 -0
  9. package/dist/browser/errorModels.js.map +1 -0
  10. package/dist/browser/generated/data/index.d.ts +4 -0
  11. package/dist/browser/generated/data/index.d.ts.map +1 -0
  12. package/{dist-esm/src → dist/browser}/generated/data/index.js +3 -3
  13. package/dist/browser/generated/data/index.js.map +1 -0
  14. package/dist/browser/generated/data/models/index.d.ts +783 -0
  15. package/dist/browser/generated/data/models/index.d.ts.map +1 -0
  16. package/dist/browser/generated/data/models/index.js +80 -0
  17. package/dist/browser/generated/data/models/index.js.map +1 -0
  18. package/dist/browser/generated/data/models/mappers.d.ts +34 -0
  19. package/dist/browser/generated/data/models/mappers.d.ts.map +1 -0
  20. package/{dist-esm/src → dist/browser}/generated/data/models/mappers.js +18 -365
  21. package/dist/browser/generated/data/models/mappers.js.map +1 -0
  22. package/dist/browser/generated/data/models/parameters.d.ts +58 -0
  23. package/dist/browser/generated/data/models/parameters.d.ts.map +1 -0
  24. package/{dist-esm/src → dist/browser}/generated/data/models/parameters.js +1 -43
  25. package/dist/browser/generated/data/models/parameters.js.map +1 -0
  26. package/dist/browser/generated/data/operations/documents.d.ts +70 -0
  27. package/dist/browser/generated/data/operations/documents.d.ts.map +1 -0
  28. package/{dist-esm/src → dist/browser}/generated/data/operations/documents.js +9 -6
  29. package/dist/browser/generated/data/operations/documents.js.map +1 -0
  30. package/dist/browser/generated/data/operations/index.d.ts +2 -0
  31. package/dist/browser/generated/data/operations/index.d.ts.map +1 -0
  32. package/{dist-esm/src/generated/data/operationsInterfaces → dist/browser/generated/data/operations}/index.js +1 -1
  33. package/dist/browser/generated/data/operations/index.js.map +1 -0
  34. package/dist/browser/generated/data/operationsInterfaces/documents.d.ts +62 -0
  35. package/dist/browser/generated/data/operationsInterfaces/documents.d.ts.map +1 -0
  36. package/dist/browser/generated/data/operationsInterfaces/documents.js.map +1 -0
  37. package/dist/browser/generated/data/operationsInterfaces/index.d.ts +2 -0
  38. package/dist/browser/generated/data/operationsInterfaces/index.d.ts.map +1 -0
  39. package/{dist-esm/src/generated/data/operations → dist/browser/generated/data/operationsInterfaces}/index.js +1 -1
  40. package/dist/browser/generated/data/operationsInterfaces/index.js.map +1 -0
  41. package/dist/browser/generated/data/searchClient.d.ts +21 -0
  42. package/dist/browser/generated/data/searchClient.d.ts.map +1 -0
  43. package/{dist-esm/src → dist/browser}/generated/data/searchClient.js +15 -5
  44. package/dist/browser/generated/data/searchClient.js.map +1 -0
  45. package/dist/browser/generated/service/index.d.ts +4 -0
  46. package/dist/browser/generated/service/index.d.ts.map +1 -0
  47. package/dist/browser/generated/service/index.js +11 -0
  48. package/dist/browser/generated/service/index.js.map +1 -0
  49. package/dist/browser/generated/service/models/index.d.ts +4428 -0
  50. package/dist/browser/generated/service/models/index.d.ts.map +1 -0
  51. package/{dist-esm/src → dist/browser}/generated/service/models/index.js +44 -94
  52. package/dist/browser/generated/service/models/index.js.map +1 -0
  53. package/dist/browser/generated/service/models/mappers.d.ts +272 -0
  54. package/dist/browser/generated/service/models/mappers.d.ts.map +1 -0
  55. package/{dist-esm/src → dist/browser}/generated/service/models/mappers.js +794 -906
  56. package/dist/browser/generated/service/models/mappers.js.map +1 -0
  57. package/dist/browser/generated/service/models/parameters.d.ts +22 -0
  58. package/dist/browser/generated/service/models/parameters.d.ts.map +1 -0
  59. package/{dist-esm/src → dist/browser}/generated/service/models/parameters.js +1 -51
  60. package/dist/browser/generated/service/models/parameters.js.map +1 -0
  61. package/dist/browser/generated/service/operations/aliases.d.ts +2 -0
  62. package/dist/browser/generated/service/operations/aliases.d.ts.map +1 -0
  63. package/dist/browser/generated/service/operations/aliases.js +201 -0
  64. package/dist/browser/generated/service/operations/aliases.js.map +1 -0
  65. package/dist/browser/generated/service/operations/dataSources.d.ts +43 -0
  66. package/dist/browser/generated/service/operations/dataSources.d.ts.map +1 -0
  67. package/{dist-esm/src → dist/browser}/generated/service/operations/dataSources.js +4 -6
  68. package/dist/browser/generated/service/operations/dataSources.js.map +1 -0
  69. package/dist/browser/generated/service/operations/index.d.ts +6 -0
  70. package/dist/browser/generated/service/operations/index.d.ts.map +1 -0
  71. package/dist/browser/generated/service/operations/index.js +13 -0
  72. package/dist/browser/generated/service/operations/index.js.map +1 -0
  73. package/dist/browser/generated/service/operations/indexers.d.ts +61 -0
  74. package/dist/browser/generated/service/operations/indexers.d.ts.map +1 -0
  75. package/{dist-esm/src → dist/browser}/generated/service/operations/indexers.js +4 -31
  76. package/dist/browser/generated/service/operations/indexers.js.map +1 -0
  77. package/dist/browser/generated/service/operations/indexes.d.ts +58 -0
  78. package/dist/browser/generated/service/operations/indexes.d.ts.map +1 -0
  79. package/{dist-esm/src → dist/browser}/generated/service/operations/indexes.js +3 -2
  80. package/dist/browser/generated/service/operations/indexes.js.map +1 -0
  81. package/dist/browser/generated/service/operations/skillsets.d.ts +43 -0
  82. package/dist/browser/generated/service/operations/skillsets.d.ts.map +1 -0
  83. package/{dist-esm/src → dist/browser}/generated/service/operations/skillsets.js +4 -32
  84. package/dist/browser/generated/service/operations/skillsets.js.map +1 -0
  85. package/dist/browser/generated/service/operations/synonymMaps.d.ts +43 -0
  86. package/dist/browser/generated/service/operations/synonymMaps.d.ts.map +1 -0
  87. package/{dist-esm/src → dist/browser}/generated/service/operations/synonymMaps.js +3 -2
  88. package/dist/browser/generated/service/operations/synonymMaps.js.map +1 -0
  89. package/dist/browser/generated/service/operationsInterfaces/aliases.d.ts +2 -0
  90. package/dist/browser/generated/service/operationsInterfaces/aliases.d.ts.map +1 -0
  91. package/dist/browser/generated/service/operationsInterfaces/aliases.js +68 -0
  92. package/dist/browser/generated/service/operationsInterfaces/aliases.js.map +1 -0
  93. package/dist/browser/generated/service/operationsInterfaces/dataSources.d.ts +35 -0
  94. package/dist/browser/generated/service/operationsInterfaces/dataSources.d.ts.map +1 -0
  95. package/dist/browser/generated/service/operationsInterfaces/dataSources.js.map +1 -0
  96. package/dist/browser/generated/service/operationsInterfaces/index.d.ts +6 -0
  97. package/dist/browser/generated/service/operationsInterfaces/index.d.ts.map +1 -0
  98. package/dist/browser/generated/service/operationsInterfaces/index.js +13 -0
  99. package/dist/browser/generated/service/operationsInterfaces/index.js.map +1 -0
  100. package/dist/browser/generated/service/operationsInterfaces/indexers.d.ts +53 -0
  101. package/dist/browser/generated/service/operationsInterfaces/indexers.d.ts.map +1 -0
  102. package/dist/browser/generated/service/operationsInterfaces/indexers.js.map +1 -0
  103. package/dist/browser/generated/service/operationsInterfaces/indexes.d.ts +50 -0
  104. package/dist/browser/generated/service/operationsInterfaces/indexes.d.ts.map +1 -0
  105. package/dist/browser/generated/service/operationsInterfaces/indexes.js.map +1 -0
  106. package/dist/browser/generated/service/operationsInterfaces/skillsets.d.ts +35 -0
  107. package/dist/browser/generated/service/operationsInterfaces/skillsets.d.ts.map +1 -0
  108. package/dist/browser/generated/service/operationsInterfaces/skillsets.js.map +1 -0
  109. package/dist/browser/generated/service/operationsInterfaces/synonymMaps.d.ts +35 -0
  110. package/dist/browser/generated/service/operationsInterfaces/synonymMaps.d.ts.map +1 -0
  111. package/dist/browser/generated/service/operationsInterfaces/synonymMaps.js.map +1 -0
  112. package/dist/browser/generated/service/searchServiceClient.d.ts +28 -0
  113. package/dist/browser/generated/service/searchServiceClient.d.ts.map +1 -0
  114. package/{dist-esm/src → dist/browser}/generated/service/searchServiceClient.js +18 -8
  115. package/dist/browser/generated/service/searchServiceClient.js.map +1 -0
  116. package/dist/browser/geographyPoint.d.ts +27 -0
  117. package/dist/browser/geographyPoint.d.ts.map +1 -0
  118. package/{dist-esm/src → dist/browser}/geographyPoint.js +8 -0
  119. package/dist/browser/geographyPoint.js.map +1 -0
  120. package/dist/browser/index.d.ts +15 -0
  121. package/dist/browser/index.d.ts.map +1 -0
  122. package/dist/browser/index.js +16 -0
  123. package/dist/browser/index.js.map +1 -0
  124. package/dist/browser/indexDocumentsBatch.d.ts +41 -0
  125. package/dist/browser/indexDocumentsBatch.d.ts.map +1 -0
  126. package/{dist-esm/src → dist/browser}/indexDocumentsBatch.js +20 -4
  127. package/dist/browser/indexDocumentsBatch.js.map +1 -0
  128. package/dist/browser/indexModels.d.ts +722 -0
  129. package/dist/browser/indexModels.d.ts.map +1 -0
  130. package/dist/browser/indexModels.js.map +1 -0
  131. package/dist/browser/logger.d.ts +5 -0
  132. package/dist/browser/logger.d.ts.map +1 -0
  133. package/dist/browser/odata.d.ts +14 -0
  134. package/dist/browser/odata.d.ts.map +1 -0
  135. package/dist/browser/odataMetadataPolicy.d.ts +9 -0
  136. package/dist/browser/odataMetadataPolicy.d.ts.map +1 -0
  137. package/dist/browser/odataMetadataPolicy.js.map +1 -0
  138. package/dist/browser/package.json +3 -0
  139. package/dist/browser/searchApiKeyCredentialPolicy.d.ts +8 -0
  140. package/dist/browser/searchApiKeyCredentialPolicy.d.ts.map +1 -0
  141. package/dist/browser/searchApiKeyCredentialPolicy.js.map +1 -0
  142. package/dist/browser/searchAudience.d.ts +18 -0
  143. package/dist/browser/searchAudience.d.ts.map +1 -0
  144. package/dist/browser/searchClient.d.ts +266 -0
  145. package/dist/browser/searchClient.d.ts.map +1 -0
  146. package/{dist-esm/src → dist/browser}/searchClient.js +138 -138
  147. package/dist/browser/searchClient.js.map +1 -0
  148. package/dist/browser/searchIndexClient.d.ts +177 -0
  149. package/dist/browser/searchIndexClient.d.ts.map +1 -0
  150. package/{dist-esm/src → dist/browser}/searchIndexClient.js +118 -268
  151. package/dist/browser/searchIndexClient.js.map +1 -0
  152. package/dist/browser/searchIndexerClient.d.ts +187 -0
  153. package/dist/browser/searchIndexerClient.d.ts.map +1 -0
  154. package/{dist-esm/src → dist/browser}/searchIndexerClient.js +79 -93
  155. package/dist/browser/searchIndexerClient.js.map +1 -0
  156. package/dist/browser/searchIndexingBufferedSender.d.ts +193 -0
  157. package/dist/browser/searchIndexingBufferedSender.d.ts.map +1 -0
  158. package/{dist-esm/src → dist/browser}/searchIndexingBufferedSender.js +54 -15
  159. package/dist/browser/searchIndexingBufferedSender.js.map +1 -0
  160. package/dist/browser/serialization.d.ts +3 -0
  161. package/dist/browser/serialization.d.ts.map +1 -0
  162. package/{dist-esm/src → dist/browser}/serialization.js +2 -2
  163. package/dist/browser/serialization.js.map +1 -0
  164. package/dist/browser/serviceModels.d.ts +2181 -0
  165. package/dist/browser/serviceModels.d.ts.map +1 -0
  166. package/dist/browser/serviceModels.js.map +1 -0
  167. package/dist/browser/serviceUtils.d.ts +35 -0
  168. package/dist/browser/serviceUtils.d.ts.map +1 -0
  169. package/{dist-esm/src → dist/browser}/serviceUtils.js +139 -139
  170. package/dist/browser/serviceUtils.js.map +1 -0
  171. package/dist/browser/synonymMapHelper-browser.d.mts.map +1 -0
  172. package/dist/browser/synonymMapHelper-browser.mjs.map +1 -0
  173. package/dist/browser/synonymMapHelper.d.ts +11 -0
  174. package/{dist-esm/src/synonymMapHelper.browser.js → dist/browser/synonymMapHelper.js} +1 -1
  175. package/dist/browser/tracing.d.ts +7 -0
  176. package/dist/browser/tracing.d.ts.map +1 -0
  177. package/dist/browser/walk.d.ts +2 -0
  178. package/dist/browser/walk.d.ts.map +1 -0
  179. package/{dist-esm/src → dist/browser}/walk.js +9 -12
  180. package/dist/browser/walk.js.map +1 -0
  181. package/dist/commonjs/base64.d.ts +11 -0
  182. package/dist/commonjs/base64.d.ts.map +1 -0
  183. package/dist/commonjs/base64.js +21 -0
  184. package/dist/commonjs/base64.js.map +1 -0
  185. package/dist/commonjs/errorModels.d.ts +50 -0
  186. package/dist/commonjs/errorModels.d.ts.map +1 -0
  187. package/dist/commonjs/errorModels.js +5 -0
  188. package/dist/commonjs/errorModels.js.map +1 -0
  189. package/dist/commonjs/generated/data/index.d.ts +4 -0
  190. package/dist/commonjs/generated/data/index.d.ts.map +1 -0
  191. package/dist/commonjs/generated/data/index.js +16 -0
  192. package/dist/commonjs/generated/data/index.js.map +1 -0
  193. package/dist/commonjs/generated/data/models/index.d.ts +783 -0
  194. package/dist/commonjs/generated/data/models/index.d.ts.map +1 -0
  195. package/dist/commonjs/generated/data/models/index.js +83 -0
  196. package/dist/commonjs/generated/data/models/index.js.map +1 -0
  197. package/dist/commonjs/generated/data/models/mappers.d.ts +34 -0
  198. package/dist/commonjs/generated/data/models/mappers.d.ts.map +1 -0
  199. package/dist/commonjs/generated/data/models/mappers.js +1091 -0
  200. package/dist/commonjs/generated/data/models/mappers.js.map +1 -0
  201. package/dist/commonjs/generated/data/models/parameters.d.ts +58 -0
  202. package/dist/commonjs/generated/data/models/parameters.d.ts.map +1 -0
  203. package/dist/commonjs/generated/data/models/parameters.js +581 -0
  204. package/dist/commonjs/generated/data/models/parameters.js.map +1 -0
  205. package/dist/commonjs/generated/data/operations/documents.d.ts +70 -0
  206. package/dist/commonjs/generated/data/operations/documents.d.ts.map +1 -0
  207. package/dist/commonjs/generated/data/operations/documents.js +320 -0
  208. package/dist/commonjs/generated/data/operations/documents.js.map +1 -0
  209. package/dist/commonjs/generated/data/operations/index.d.ts +2 -0
  210. package/dist/commonjs/generated/data/operations/index.d.ts.map +1 -0
  211. package/dist/commonjs/generated/data/operations/index.js +12 -0
  212. package/dist/commonjs/generated/data/operations/index.js.map +1 -0
  213. package/dist/commonjs/generated/data/operationsInterfaces/documents.d.ts +62 -0
  214. package/dist/commonjs/generated/data/operationsInterfaces/documents.d.ts.map +1 -0
  215. package/dist/commonjs/generated/data/operationsInterfaces/documents.js +10 -0
  216. package/dist/commonjs/generated/data/operationsInterfaces/documents.js.map +1 -0
  217. package/dist/commonjs/generated/data/operationsInterfaces/index.d.ts +2 -0
  218. package/dist/commonjs/generated/data/operationsInterfaces/index.d.ts.map +1 -0
  219. package/dist/commonjs/generated/data/operationsInterfaces/index.js +12 -0
  220. package/dist/commonjs/generated/data/operationsInterfaces/index.js.map +1 -0
  221. package/dist/commonjs/generated/data/searchClient.d.ts +21 -0
  222. package/dist/commonjs/generated/data/searchClient.d.ts.map +1 -0
  223. package/dist/commonjs/generated/data/searchClient.js +93 -0
  224. package/dist/commonjs/generated/data/searchClient.js.map +1 -0
  225. package/dist/commonjs/generated/service/index.d.ts +4 -0
  226. package/dist/commonjs/generated/service/index.d.ts.map +1 -0
  227. package/dist/commonjs/generated/service/index.js +16 -0
  228. package/dist/commonjs/generated/service/index.js.map +1 -0
  229. package/dist/commonjs/generated/service/models/index.d.ts +4428 -0
  230. package/dist/commonjs/generated/service/models/index.d.ts.map +1 -0
  231. package/dist/commonjs/generated/service/models/index.js +1459 -0
  232. package/dist/commonjs/generated/service/models/index.js.map +1 -0
  233. package/dist/commonjs/generated/service/models/mappers.d.ts +272 -0
  234. package/dist/commonjs/generated/service/models/mappers.d.ts.map +1 -0
  235. package/dist/commonjs/generated/service/models/mappers.js +6077 -0
  236. package/dist/commonjs/generated/service/models/mappers.js.map +1 -0
  237. package/dist/commonjs/generated/service/models/parameters.d.ts +22 -0
  238. package/dist/commonjs/generated/service/models/parameters.d.ts.map +1 -0
  239. package/dist/commonjs/generated/service/models/parameters.js +176 -0
  240. package/dist/commonjs/generated/service/models/parameters.js.map +1 -0
  241. package/dist/commonjs/generated/service/operations/aliases.d.ts +2 -0
  242. package/dist/commonjs/generated/service/operations/aliases.d.ts.map +1 -0
  243. package/dist/commonjs/generated/service/operations/aliases.js +202 -0
  244. package/dist/commonjs/generated/service/operations/aliases.js.map +1 -0
  245. package/dist/commonjs/generated/service/operations/dataSources.d.ts +43 -0
  246. package/dist/commonjs/generated/service/operations/dataSources.d.ts.map +1 -0
  247. package/dist/commonjs/generated/service/operations/dataSources.js +165 -0
  248. package/dist/commonjs/generated/service/operations/dataSources.js.map +1 -0
  249. package/dist/commonjs/generated/service/operations/index.d.ts +6 -0
  250. package/dist/commonjs/generated/service/operations/index.d.ts.map +1 -0
  251. package/dist/commonjs/generated/service/operations/index.js +16 -0
  252. package/dist/commonjs/generated/service/operations/index.js.map +1 -0
  253. package/dist/commonjs/generated/service/operations/indexers.d.ts +61 -0
  254. package/dist/commonjs/generated/service/operations/indexers.d.ts.map +1 -0
  255. package/dist/commonjs/generated/service/operations/indexers.js +233 -0
  256. package/dist/commonjs/generated/service/operations/indexers.js.map +1 -0
  257. package/dist/commonjs/generated/service/operations/indexes.d.ts +58 -0
  258. package/dist/commonjs/generated/service/operations/indexes.d.ts.map +1 -0
  259. package/dist/commonjs/generated/service/operations/indexes.js +218 -0
  260. package/dist/commonjs/generated/service/operations/indexes.js.map +1 -0
  261. package/dist/commonjs/generated/service/operations/skillsets.d.ts +43 -0
  262. package/dist/commonjs/generated/service/operations/skillsets.d.ts.map +1 -0
  263. package/dist/commonjs/generated/service/operations/skillsets.js +165 -0
  264. package/dist/commonjs/generated/service/operations/skillsets.js.map +1 -0
  265. package/dist/commonjs/generated/service/operations/synonymMaps.d.ts +43 -0
  266. package/dist/commonjs/generated/service/operations/synonymMaps.d.ts.map +1 -0
  267. package/dist/commonjs/generated/service/operations/synonymMaps.js +165 -0
  268. package/dist/commonjs/generated/service/operations/synonymMaps.js.map +1 -0
  269. package/dist/commonjs/generated/service/operationsInterfaces/aliases.d.ts +2 -0
  270. package/dist/commonjs/generated/service/operationsInterfaces/aliases.d.ts.map +1 -0
  271. package/dist/commonjs/generated/service/operationsInterfaces/aliases.js +69 -0
  272. package/dist/commonjs/generated/service/operationsInterfaces/aliases.js.map +1 -0
  273. package/dist/commonjs/generated/service/operationsInterfaces/dataSources.d.ts +35 -0
  274. package/dist/commonjs/generated/service/operationsInterfaces/dataSources.d.ts.map +1 -0
  275. package/dist/commonjs/generated/service/operationsInterfaces/dataSources.js +10 -0
  276. package/dist/commonjs/generated/service/operationsInterfaces/dataSources.js.map +1 -0
  277. package/dist/commonjs/generated/service/operationsInterfaces/index.d.ts +6 -0
  278. package/dist/commonjs/generated/service/operationsInterfaces/index.d.ts.map +1 -0
  279. package/dist/commonjs/generated/service/operationsInterfaces/index.js +16 -0
  280. package/dist/commonjs/generated/service/operationsInterfaces/index.js.map +1 -0
  281. package/dist/commonjs/generated/service/operationsInterfaces/indexers.d.ts +53 -0
  282. package/dist/commonjs/generated/service/operationsInterfaces/indexers.d.ts.map +1 -0
  283. package/dist/commonjs/generated/service/operationsInterfaces/indexers.js +10 -0
  284. package/dist/commonjs/generated/service/operationsInterfaces/indexers.js.map +1 -0
  285. package/dist/commonjs/generated/service/operationsInterfaces/indexes.d.ts +50 -0
  286. package/dist/commonjs/generated/service/operationsInterfaces/indexes.d.ts.map +1 -0
  287. package/dist/commonjs/generated/service/operationsInterfaces/indexes.js +10 -0
  288. package/dist/commonjs/generated/service/operationsInterfaces/indexes.js.map +1 -0
  289. package/dist/commonjs/generated/service/operationsInterfaces/skillsets.d.ts +35 -0
  290. package/dist/commonjs/generated/service/operationsInterfaces/skillsets.d.ts.map +1 -0
  291. package/dist/commonjs/generated/service/operationsInterfaces/skillsets.js +10 -0
  292. package/dist/commonjs/generated/service/operationsInterfaces/skillsets.js.map +1 -0
  293. package/dist/commonjs/generated/service/operationsInterfaces/synonymMaps.d.ts +35 -0
  294. package/dist/commonjs/generated/service/operationsInterfaces/synonymMaps.d.ts.map +1 -0
  295. package/dist/commonjs/generated/service/operationsInterfaces/synonymMaps.js +10 -0
  296. package/dist/commonjs/generated/service/operationsInterfaces/synonymMaps.js.map +1 -0
  297. package/dist/commonjs/generated/service/searchServiceClient.d.ts +28 -0
  298. package/dist/commonjs/generated/service/searchServiceClient.d.ts.map +1 -0
  299. package/dist/commonjs/generated/service/searchServiceClient.js +121 -0
  300. package/dist/commonjs/generated/service/searchServiceClient.js.map +1 -0
  301. package/dist/commonjs/geographyPoint.d.ts +27 -0
  302. package/dist/commonjs/geographyPoint.d.ts.map +1 -0
  303. package/dist/commonjs/geographyPoint.js +39 -0
  304. package/dist/commonjs/geographyPoint.js.map +1 -0
  305. package/dist/commonjs/index.d.ts +15 -0
  306. package/dist/commonjs/index.d.ts.map +1 -0
  307. package/dist/commonjs/index.js +81 -0
  308. package/dist/commonjs/index.js.map +1 -0
  309. package/dist/commonjs/indexDocumentsBatch.d.ts +41 -0
  310. package/dist/commonjs/indexDocumentsBatch.d.ts.map +1 -0
  311. package/dist/commonjs/indexDocumentsBatch.js +83 -0
  312. package/dist/commonjs/indexDocumentsBatch.js.map +1 -0
  313. package/dist/commonjs/indexModels.d.ts +722 -0
  314. package/dist/commonjs/indexModels.d.ts.map +1 -0
  315. package/dist/commonjs/indexModels.js +5 -0
  316. package/dist/commonjs/indexModels.js.map +1 -0
  317. package/dist/commonjs/logger.d.ts +5 -0
  318. package/dist/commonjs/logger.d.ts.map +1 -0
  319. package/dist/commonjs/logger.js +11 -0
  320. package/dist/commonjs/logger.js.map +1 -0
  321. package/dist/commonjs/odata.d.ts +14 -0
  322. package/dist/commonjs/odata.d.ts.map +1 -0
  323. package/dist/commonjs/odata.js +50 -0
  324. package/dist/commonjs/odata.js.map +1 -0
  325. package/dist/commonjs/odataMetadataPolicy.d.ts +9 -0
  326. package/dist/commonjs/odataMetadataPolicy.d.ts.map +1 -0
  327. package/dist/commonjs/odataMetadataPolicy.js +21 -0
  328. package/dist/commonjs/odataMetadataPolicy.js.map +1 -0
  329. package/dist/commonjs/package.json +3 -0
  330. package/dist/commonjs/searchApiKeyCredentialPolicy.d.ts +8 -0
  331. package/dist/commonjs/searchApiKeyCredentialPolicy.d.ts.map +1 -0
  332. package/dist/commonjs/searchApiKeyCredentialPolicy.js +23 -0
  333. package/dist/commonjs/searchApiKeyCredentialPolicy.js.map +1 -0
  334. package/dist/commonjs/searchAudience.d.ts +18 -0
  335. package/dist/commonjs/searchAudience.d.ts.map +1 -0
  336. package/dist/commonjs/searchAudience.js +24 -0
  337. package/dist/commonjs/searchAudience.js.map +1 -0
  338. package/dist/commonjs/searchClient.d.ts +266 -0
  339. package/dist/commonjs/searchClient.d.ts.map +1 -0
  340. package/dist/commonjs/searchClient.js +669 -0
  341. package/dist/commonjs/searchClient.js.map +1 -0
  342. package/dist/commonjs/searchIndexClient.d.ts +177 -0
  343. package/dist/commonjs/searchIndexClient.d.ts.map +1 -0
  344. package/dist/commonjs/searchIndexClient.js +514 -0
  345. package/dist/commonjs/searchIndexClient.js.map +1 -0
  346. package/dist/commonjs/searchIndexerClient.d.ts +187 -0
  347. package/dist/commonjs/searchIndexerClient.d.ts.map +1 -0
  348. package/dist/commonjs/searchIndexerClient.js +591 -0
  349. package/dist/commonjs/searchIndexerClient.js.map +1 -0
  350. package/dist/commonjs/searchIndexingBufferedSender.d.ts +193 -0
  351. package/dist/commonjs/searchIndexingBufferedSender.d.ts.map +1 -0
  352. package/dist/commonjs/searchIndexingBufferedSender.js +327 -0
  353. package/dist/commonjs/searchIndexingBufferedSender.js.map +1 -0
  354. package/dist/commonjs/serialization.d.ts +3 -0
  355. package/dist/commonjs/serialization.d.ts.map +1 -0
  356. package/dist/commonjs/serialization.js +149 -0
  357. package/dist/commonjs/serialization.js.map +1 -0
  358. package/dist/commonjs/serviceModels.d.ts +2181 -0
  359. package/dist/commonjs/serviceModels.d.ts.map +1 -0
  360. package/dist/commonjs/serviceModels.js +658 -0
  361. package/dist/commonjs/serviceModels.js.map +1 -0
  362. package/dist/commonjs/serviceUtils.d.ts +35 -0
  363. package/dist/commonjs/serviceUtils.d.ts.map +1 -0
  364. package/dist/commonjs/serviceUtils.js +548 -0
  365. package/dist/commonjs/serviceUtils.js.map +1 -0
  366. package/dist/commonjs/synonymMapHelper.d.ts +10 -0
  367. package/dist/commonjs/synonymMapHelper.d.ts.map +1 -0
  368. package/dist/commonjs/synonymMapHelper.js +28 -0
  369. package/dist/commonjs/synonymMapHelper.js.map +1 -0
  370. package/dist/commonjs/tracing.d.ts +7 -0
  371. package/dist/commonjs/tracing.d.ts.map +1 -0
  372. package/dist/commonjs/tracing.js +16 -0
  373. package/dist/commonjs/tracing.js.map +1 -0
  374. package/dist/commonjs/tsdoc-metadata.json +11 -0
  375. package/dist/commonjs/walk.d.ts +2 -0
  376. package/dist/commonjs/walk.d.ts.map +1 -0
  377. package/dist/commonjs/walk.js +79 -0
  378. package/dist/commonjs/walk.js.map +1 -0
  379. package/dist/esm/base64.d.ts +11 -0
  380. package/dist/esm/base64.d.ts.map +1 -0
  381. package/dist/esm/errorModels.d.ts +50 -0
  382. package/dist/esm/errorModels.d.ts.map +1 -0
  383. package/dist/esm/errorModels.js +4 -0
  384. package/dist/esm/errorModels.js.map +1 -0
  385. package/dist/esm/generated/data/index.d.ts +4 -0
  386. package/dist/esm/generated/data/index.d.ts.map +1 -0
  387. package/{dist-esm/src/generated/service → dist/esm/generated/data}/index.js +3 -3
  388. package/dist/esm/generated/data/index.js.map +1 -0
  389. package/dist/esm/generated/data/models/index.d.ts +783 -0
  390. package/dist/esm/generated/data/models/index.d.ts.map +1 -0
  391. package/dist/esm/generated/data/models/index.js +80 -0
  392. package/dist/esm/generated/data/models/index.js.map +1 -0
  393. package/dist/esm/generated/data/models/mappers.d.ts +34 -0
  394. package/dist/esm/generated/data/models/mappers.d.ts.map +1 -0
  395. package/dist/esm/generated/data/models/mappers.js +1088 -0
  396. package/dist/esm/generated/data/models/mappers.js.map +1 -0
  397. package/dist/esm/generated/data/models/parameters.d.ts +58 -0
  398. package/dist/esm/generated/data/models/parameters.d.ts.map +1 -0
  399. package/dist/esm/generated/data/models/parameters.js +577 -0
  400. package/dist/esm/generated/data/models/parameters.js.map +1 -0
  401. package/dist/esm/generated/data/operations/documents.d.ts +70 -0
  402. package/dist/esm/generated/data/operations/documents.d.ts.map +1 -0
  403. package/dist/esm/generated/data/operations/documents.js +315 -0
  404. package/dist/esm/generated/data/operations/documents.js.map +1 -0
  405. package/dist/esm/generated/data/operations/index.d.ts +2 -0
  406. package/dist/esm/generated/data/operations/index.d.ts.map +1 -0
  407. package/dist/esm/generated/data/operations/index.js +9 -0
  408. package/dist/esm/generated/data/operations/index.js.map +1 -0
  409. package/dist/esm/generated/data/operationsInterfaces/documents.d.ts +62 -0
  410. package/dist/esm/generated/data/operationsInterfaces/documents.d.ts.map +1 -0
  411. package/dist/esm/generated/data/operationsInterfaces/documents.js +9 -0
  412. package/dist/esm/generated/data/operationsInterfaces/documents.js.map +1 -0
  413. package/dist/esm/generated/data/operationsInterfaces/index.d.ts +2 -0
  414. package/dist/esm/generated/data/operationsInterfaces/index.d.ts.map +1 -0
  415. package/dist/esm/generated/data/operationsInterfaces/index.js +9 -0
  416. package/dist/esm/generated/data/operationsInterfaces/index.js.map +1 -0
  417. package/dist/esm/generated/data/searchClient.d.ts +21 -0
  418. package/dist/esm/generated/data/searchClient.d.ts.map +1 -0
  419. package/dist/esm/generated/data/searchClient.js +88 -0
  420. package/dist/esm/generated/data/searchClient.js.map +1 -0
  421. package/dist/esm/generated/service/index.d.ts +4 -0
  422. package/dist/esm/generated/service/index.d.ts.map +1 -0
  423. package/dist/esm/generated/service/index.js +11 -0
  424. package/dist/esm/generated/service/index.js.map +1 -0
  425. package/dist/esm/generated/service/models/index.d.ts +4428 -0
  426. package/dist/esm/generated/service/models/index.d.ts.map +1 -0
  427. package/dist/esm/generated/service/models/index.js +1456 -0
  428. package/dist/esm/generated/service/models/index.js.map +1 -0
  429. package/dist/esm/generated/service/models/mappers.d.ts +272 -0
  430. package/dist/esm/generated/service/models/mappers.d.ts.map +1 -0
  431. package/dist/esm/generated/service/models/mappers.js +6071 -0
  432. package/dist/esm/generated/service/models/mappers.js.map +1 -0
  433. package/dist/esm/generated/service/models/parameters.d.ts +22 -0
  434. package/dist/esm/generated/service/models/parameters.d.ts.map +1 -0
  435. package/dist/esm/generated/service/models/parameters.js +173 -0
  436. package/dist/esm/generated/service/models/parameters.js.map +1 -0
  437. package/dist/esm/generated/service/operations/aliases.d.ts +2 -0
  438. package/dist/esm/generated/service/operations/aliases.d.ts.map +1 -0
  439. package/dist/esm/generated/service/operations/aliases.js +201 -0
  440. package/dist/esm/generated/service/operations/aliases.js.map +1 -0
  441. package/dist/esm/generated/service/operations/dataSources.d.ts +43 -0
  442. package/dist/esm/generated/service/operations/dataSources.d.ts.map +1 -0
  443. package/dist/esm/generated/service/operations/dataSources.js +160 -0
  444. package/dist/esm/generated/service/operations/dataSources.js.map +1 -0
  445. package/dist/esm/generated/service/operations/index.d.ts +6 -0
  446. package/dist/esm/generated/service/operations/index.d.ts.map +1 -0
  447. package/dist/esm/generated/service/operations/index.js +13 -0
  448. package/dist/esm/generated/service/operations/index.js.map +1 -0
  449. package/dist/esm/generated/service/operations/indexers.d.ts +61 -0
  450. package/dist/esm/generated/service/operations/indexers.d.ts.map +1 -0
  451. package/dist/esm/generated/service/operations/indexers.js +228 -0
  452. package/dist/esm/generated/service/operations/indexers.js.map +1 -0
  453. package/dist/esm/generated/service/operations/indexes.d.ts +58 -0
  454. package/dist/esm/generated/service/operations/indexes.d.ts.map +1 -0
  455. package/dist/esm/generated/service/operations/indexes.js +213 -0
  456. package/dist/esm/generated/service/operations/indexes.js.map +1 -0
  457. package/dist/esm/generated/service/operations/skillsets.d.ts +43 -0
  458. package/dist/esm/generated/service/operations/skillsets.d.ts.map +1 -0
  459. package/{dist-esm/src/generated/service/operations/aliases.js → dist/esm/generated/service/operations/skillsets.js} +71 -71
  460. package/dist/esm/generated/service/operations/skillsets.js.map +1 -0
  461. package/dist/esm/generated/service/operations/synonymMaps.d.ts +43 -0
  462. package/dist/esm/generated/service/operations/synonymMaps.d.ts.map +1 -0
  463. package/dist/esm/generated/service/operations/synonymMaps.js +160 -0
  464. package/dist/esm/generated/service/operations/synonymMaps.js.map +1 -0
  465. package/dist/esm/generated/service/operationsInterfaces/aliases.d.ts +2 -0
  466. package/dist/esm/generated/service/operationsInterfaces/aliases.d.ts.map +1 -0
  467. package/dist/esm/generated/service/operationsInterfaces/aliases.js +68 -0
  468. package/dist/esm/generated/service/operationsInterfaces/aliases.js.map +1 -0
  469. package/dist/esm/generated/service/operationsInterfaces/dataSources.d.ts +35 -0
  470. package/dist/esm/generated/service/operationsInterfaces/dataSources.d.ts.map +1 -0
  471. package/dist/esm/generated/service/operationsInterfaces/dataSources.js +9 -0
  472. package/dist/esm/generated/service/operationsInterfaces/dataSources.js.map +1 -0
  473. package/dist/esm/generated/service/operationsInterfaces/index.d.ts +6 -0
  474. package/dist/esm/generated/service/operationsInterfaces/index.d.ts.map +1 -0
  475. package/dist/esm/generated/service/operationsInterfaces/index.js +13 -0
  476. package/dist/esm/generated/service/operationsInterfaces/index.js.map +1 -0
  477. package/dist/esm/generated/service/operationsInterfaces/indexers.d.ts +53 -0
  478. package/dist/esm/generated/service/operationsInterfaces/indexers.d.ts.map +1 -0
  479. package/dist/esm/generated/service/operationsInterfaces/indexers.js +9 -0
  480. package/dist/esm/generated/service/operationsInterfaces/indexers.js.map +1 -0
  481. package/dist/esm/generated/service/operationsInterfaces/indexes.d.ts +50 -0
  482. package/dist/esm/generated/service/operationsInterfaces/indexes.d.ts.map +1 -0
  483. package/{dist-esm/src/generated/service/operationsInterfaces/aliases.js → dist/esm/generated/service/operationsInterfaces/indexes.js} +1 -1
  484. package/dist/esm/generated/service/operationsInterfaces/indexes.js.map +1 -0
  485. package/dist/esm/generated/service/operationsInterfaces/skillsets.d.ts +35 -0
  486. package/dist/esm/generated/service/operationsInterfaces/skillsets.d.ts.map +1 -0
  487. package/dist/esm/generated/service/operationsInterfaces/skillsets.js +9 -0
  488. package/dist/esm/generated/service/operationsInterfaces/skillsets.js.map +1 -0
  489. package/dist/esm/generated/service/operationsInterfaces/synonymMaps.d.ts +35 -0
  490. package/dist/esm/generated/service/operationsInterfaces/synonymMaps.d.ts.map +1 -0
  491. package/dist/esm/generated/service/operationsInterfaces/synonymMaps.js +9 -0
  492. package/dist/esm/generated/service/operationsInterfaces/synonymMaps.js.map +1 -0
  493. package/dist/esm/generated/service/searchServiceClient.d.ts +28 -0
  494. package/dist/esm/generated/service/searchServiceClient.d.ts.map +1 -0
  495. package/dist/esm/generated/service/searchServiceClient.js +116 -0
  496. package/dist/esm/generated/service/searchServiceClient.js.map +1 -0
  497. package/dist/esm/geographyPoint.d.ts +27 -0
  498. package/dist/esm/geographyPoint.d.ts.map +1 -0
  499. package/dist/esm/geographyPoint.js +36 -0
  500. package/dist/esm/geographyPoint.js.map +1 -0
  501. package/dist/esm/index.d.ts +15 -0
  502. package/dist/esm/index.d.ts.map +1 -0
  503. package/dist/esm/index.js +16 -0
  504. package/dist/esm/index.js.map +1 -0
  505. package/dist/esm/indexDocumentsBatch.d.ts +41 -0
  506. package/dist/esm/indexDocumentsBatch.d.ts.map +1 -0
  507. package/dist/esm/indexDocumentsBatch.js +79 -0
  508. package/dist/esm/indexDocumentsBatch.js.map +1 -0
  509. package/dist/esm/indexModels.d.ts +722 -0
  510. package/dist/esm/indexModels.d.ts.map +1 -0
  511. package/dist/esm/indexModels.js +4 -0
  512. package/dist/esm/indexModels.js.map +1 -0
  513. package/dist/esm/logger.d.ts +5 -0
  514. package/dist/esm/logger.d.ts.map +1 -0
  515. package/dist/esm/logger.js +8 -0
  516. package/dist/esm/logger.js.map +1 -0
  517. package/dist/esm/odata.d.ts +14 -0
  518. package/dist/esm/odata.d.ts.map +1 -0
  519. package/dist/esm/odata.js +47 -0
  520. package/dist/esm/odata.js.map +1 -0
  521. package/dist/esm/odataMetadataPolicy.d.ts +9 -0
  522. package/dist/esm/odataMetadataPolicy.d.ts.map +1 -0
  523. package/dist/esm/odataMetadataPolicy.js +18 -0
  524. package/dist/esm/odataMetadataPolicy.js.map +1 -0
  525. package/dist/esm/package.json +3 -0
  526. package/dist/esm/searchApiKeyCredentialPolicy.d.ts +8 -0
  527. package/dist/esm/searchApiKeyCredentialPolicy.d.ts.map +1 -0
  528. package/dist/esm/searchApiKeyCredentialPolicy.js +20 -0
  529. package/dist/esm/searchApiKeyCredentialPolicy.js.map +1 -0
  530. package/dist/esm/searchAudience.d.ts +18 -0
  531. package/dist/esm/searchAudience.d.ts.map +1 -0
  532. package/dist/esm/searchAudience.js +21 -0
  533. package/dist/esm/searchAudience.js.map +1 -0
  534. package/dist/esm/searchClient.d.ts +266 -0
  535. package/dist/esm/searchClient.d.ts.map +1 -0
  536. package/dist/esm/searchClient.js +664 -0
  537. package/dist/esm/searchClient.js.map +1 -0
  538. package/dist/esm/searchIndexClient.d.ts +177 -0
  539. package/dist/esm/searchIndexClient.d.ts.map +1 -0
  540. package/dist/esm/searchIndexClient.js +509 -0
  541. package/dist/esm/searchIndexClient.js.map +1 -0
  542. package/dist/esm/searchIndexerClient.d.ts +187 -0
  543. package/dist/esm/searchIndexerClient.d.ts.map +1 -0
  544. package/dist/esm/searchIndexerClient.js +586 -0
  545. package/dist/esm/searchIndexerClient.js.map +1 -0
  546. package/dist/esm/searchIndexingBufferedSender.d.ts +193 -0
  547. package/dist/esm/searchIndexingBufferedSender.d.ts.map +1 -0
  548. package/dist/esm/searchIndexingBufferedSender.js +322 -0
  549. package/dist/esm/searchIndexingBufferedSender.js.map +1 -0
  550. package/dist/esm/serialization.d.ts +3 -0
  551. package/dist/esm/serialization.d.ts.map +1 -0
  552. package/dist/esm/serialization.js +144 -0
  553. package/dist/esm/serialization.js.map +1 -0
  554. package/dist/esm/serviceModels.d.ts +2181 -0
  555. package/dist/esm/serviceModels.d.ts.map +1 -0
  556. package/dist/esm/serviceModels.js +654 -0
  557. package/dist/esm/serviceModels.js.map +1 -0
  558. package/dist/esm/serviceUtils.d.ts +35 -0
  559. package/dist/esm/serviceUtils.d.ts.map +1 -0
  560. package/dist/esm/serviceUtils.js +518 -0
  561. package/dist/esm/serviceUtils.js.map +1 -0
  562. package/dist/esm/synonymMapHelper.d.ts +10 -0
  563. package/dist/esm/synonymMapHelper.d.ts.map +1 -0
  564. package/{dist-esm/src → dist/esm}/synonymMapHelper.js.map +1 -1
  565. package/dist/esm/tracing.d.ts +7 -0
  566. package/dist/esm/tracing.d.ts.map +1 -0
  567. package/dist/esm/tracing.js +13 -0
  568. package/dist/esm/tracing.js.map +1 -0
  569. package/dist/esm/walk.d.ts +2 -0
  570. package/dist/esm/walk.d.ts.map +1 -0
  571. package/dist/esm/walk.js +76 -0
  572. package/dist/esm/walk.js.map +1 -0
  573. package/dist/react-native/base64.d.ts +11 -0
  574. package/dist/react-native/base64.d.ts.map +1 -0
  575. package/dist/react-native/base64.js +17 -0
  576. package/dist/react-native/base64.js.map +1 -0
  577. package/dist/react-native/errorModels.d.ts +50 -0
  578. package/dist/react-native/errorModels.d.ts.map +1 -0
  579. package/dist/react-native/errorModels.js +4 -0
  580. package/dist/react-native/errorModels.js.map +1 -0
  581. package/dist/react-native/generated/data/index.d.ts +4 -0
  582. package/dist/react-native/generated/data/index.d.ts.map +1 -0
  583. package/dist/react-native/generated/data/index.js +11 -0
  584. package/dist/react-native/generated/data/index.js.map +1 -0
  585. package/dist/react-native/generated/data/models/index.d.ts +783 -0
  586. package/dist/react-native/generated/data/models/index.d.ts.map +1 -0
  587. package/dist/react-native/generated/data/models/index.js +80 -0
  588. package/dist/react-native/generated/data/models/index.js.map +1 -0
  589. package/dist/react-native/generated/data/models/mappers.d.ts +34 -0
  590. package/dist/react-native/generated/data/models/mappers.d.ts.map +1 -0
  591. package/dist/react-native/generated/data/models/mappers.js +1088 -0
  592. package/dist/react-native/generated/data/models/mappers.js.map +1 -0
  593. package/dist/react-native/generated/data/models/parameters.d.ts +58 -0
  594. package/dist/react-native/generated/data/models/parameters.d.ts.map +1 -0
  595. package/dist/react-native/generated/data/models/parameters.js +577 -0
  596. package/dist/react-native/generated/data/models/parameters.js.map +1 -0
  597. package/dist/react-native/generated/data/operations/documents.d.ts +70 -0
  598. package/dist/react-native/generated/data/operations/documents.d.ts.map +1 -0
  599. package/dist/react-native/generated/data/operations/documents.js +315 -0
  600. package/dist/react-native/generated/data/operations/documents.js.map +1 -0
  601. package/dist/react-native/generated/data/operations/index.d.ts +2 -0
  602. package/dist/react-native/generated/data/operations/index.d.ts.map +1 -0
  603. package/dist/react-native/generated/data/operations/index.js +9 -0
  604. package/dist/react-native/generated/data/operations/index.js.map +1 -0
  605. package/dist/react-native/generated/data/operationsInterfaces/documents.d.ts +62 -0
  606. package/dist/react-native/generated/data/operationsInterfaces/documents.d.ts.map +1 -0
  607. package/dist/react-native/generated/data/operationsInterfaces/documents.js +9 -0
  608. package/dist/react-native/generated/data/operationsInterfaces/documents.js.map +1 -0
  609. package/dist/react-native/generated/data/operationsInterfaces/index.d.ts +2 -0
  610. package/dist/react-native/generated/data/operationsInterfaces/index.d.ts.map +1 -0
  611. package/dist/react-native/generated/data/operationsInterfaces/index.js +9 -0
  612. package/dist/react-native/generated/data/operationsInterfaces/index.js.map +1 -0
  613. package/dist/react-native/generated/data/searchClient.d.ts +21 -0
  614. package/dist/react-native/generated/data/searchClient.d.ts.map +1 -0
  615. package/dist/react-native/generated/data/searchClient.js +88 -0
  616. package/dist/react-native/generated/data/searchClient.js.map +1 -0
  617. package/dist/react-native/generated/service/index.d.ts +4 -0
  618. package/dist/react-native/generated/service/index.d.ts.map +1 -0
  619. package/dist/react-native/generated/service/index.js +11 -0
  620. package/dist/react-native/generated/service/index.js.map +1 -0
  621. package/dist/react-native/generated/service/models/index.d.ts +4428 -0
  622. package/dist/react-native/generated/service/models/index.d.ts.map +1 -0
  623. package/dist/react-native/generated/service/models/index.js +1456 -0
  624. package/dist/react-native/generated/service/models/index.js.map +1 -0
  625. package/dist/react-native/generated/service/models/mappers.d.ts +272 -0
  626. package/dist/react-native/generated/service/models/mappers.d.ts.map +1 -0
  627. package/dist/react-native/generated/service/models/mappers.js +6071 -0
  628. package/dist/react-native/generated/service/models/mappers.js.map +1 -0
  629. package/dist/react-native/generated/service/models/parameters.d.ts +22 -0
  630. package/dist/react-native/generated/service/models/parameters.d.ts.map +1 -0
  631. package/dist/react-native/generated/service/models/parameters.js +173 -0
  632. package/dist/react-native/generated/service/models/parameters.js.map +1 -0
  633. package/dist/react-native/generated/service/operations/aliases.d.ts +2 -0
  634. package/dist/react-native/generated/service/operations/aliases.d.ts.map +1 -0
  635. package/dist/react-native/generated/service/operations/aliases.js +201 -0
  636. package/dist/react-native/generated/service/operations/aliases.js.map +1 -0
  637. package/dist/react-native/generated/service/operations/dataSources.d.ts +43 -0
  638. package/dist/react-native/generated/service/operations/dataSources.d.ts.map +1 -0
  639. package/dist/react-native/generated/service/operations/dataSources.js +160 -0
  640. package/dist/react-native/generated/service/operations/dataSources.js.map +1 -0
  641. package/dist/react-native/generated/service/operations/index.d.ts +6 -0
  642. package/dist/react-native/generated/service/operations/index.d.ts.map +1 -0
  643. package/dist/react-native/generated/service/operations/index.js +13 -0
  644. package/dist/react-native/generated/service/operations/index.js.map +1 -0
  645. package/dist/react-native/generated/service/operations/indexers.d.ts +61 -0
  646. package/dist/react-native/generated/service/operations/indexers.d.ts.map +1 -0
  647. package/dist/react-native/generated/service/operations/indexers.js +228 -0
  648. package/dist/react-native/generated/service/operations/indexers.js.map +1 -0
  649. package/dist/react-native/generated/service/operations/indexes.d.ts +58 -0
  650. package/dist/react-native/generated/service/operations/indexes.d.ts.map +1 -0
  651. package/dist/react-native/generated/service/operations/indexes.js +213 -0
  652. package/dist/react-native/generated/service/operations/indexes.js.map +1 -0
  653. package/dist/react-native/generated/service/operations/skillsets.d.ts +43 -0
  654. package/dist/react-native/generated/service/operations/skillsets.d.ts.map +1 -0
  655. package/dist/react-native/generated/service/operations/skillsets.js +160 -0
  656. package/dist/react-native/generated/service/operations/skillsets.js.map +1 -0
  657. package/dist/react-native/generated/service/operations/synonymMaps.d.ts +43 -0
  658. package/dist/react-native/generated/service/operations/synonymMaps.d.ts.map +1 -0
  659. package/dist/react-native/generated/service/operations/synonymMaps.js +160 -0
  660. package/dist/react-native/generated/service/operations/synonymMaps.js.map +1 -0
  661. package/dist/react-native/generated/service/operationsInterfaces/aliases.d.ts +2 -0
  662. package/dist/react-native/generated/service/operationsInterfaces/aliases.d.ts.map +1 -0
  663. package/dist/react-native/generated/service/operationsInterfaces/aliases.js +68 -0
  664. package/dist/react-native/generated/service/operationsInterfaces/aliases.js.map +1 -0
  665. package/dist/react-native/generated/service/operationsInterfaces/dataSources.d.ts +35 -0
  666. package/dist/react-native/generated/service/operationsInterfaces/dataSources.d.ts.map +1 -0
  667. package/dist/react-native/generated/service/operationsInterfaces/dataSources.js +9 -0
  668. package/dist/react-native/generated/service/operationsInterfaces/dataSources.js.map +1 -0
  669. package/dist/react-native/generated/service/operationsInterfaces/index.d.ts +6 -0
  670. package/dist/react-native/generated/service/operationsInterfaces/index.d.ts.map +1 -0
  671. package/dist/react-native/generated/service/operationsInterfaces/index.js +13 -0
  672. package/dist/react-native/generated/service/operationsInterfaces/index.js.map +1 -0
  673. package/dist/react-native/generated/service/operationsInterfaces/indexers.d.ts +53 -0
  674. package/dist/react-native/generated/service/operationsInterfaces/indexers.d.ts.map +1 -0
  675. package/dist/react-native/generated/service/operationsInterfaces/indexers.js +9 -0
  676. package/dist/react-native/generated/service/operationsInterfaces/indexers.js.map +1 -0
  677. package/dist/react-native/generated/service/operationsInterfaces/indexes.d.ts +50 -0
  678. package/dist/react-native/generated/service/operationsInterfaces/indexes.d.ts.map +1 -0
  679. package/dist/react-native/generated/service/operationsInterfaces/indexes.js +9 -0
  680. package/dist/react-native/generated/service/operationsInterfaces/indexes.js.map +1 -0
  681. package/dist/react-native/generated/service/operationsInterfaces/skillsets.d.ts +35 -0
  682. package/dist/react-native/generated/service/operationsInterfaces/skillsets.d.ts.map +1 -0
  683. package/dist/react-native/generated/service/operationsInterfaces/skillsets.js +9 -0
  684. package/dist/react-native/generated/service/operationsInterfaces/skillsets.js.map +1 -0
  685. package/dist/react-native/generated/service/operationsInterfaces/synonymMaps.d.ts +35 -0
  686. package/dist/react-native/generated/service/operationsInterfaces/synonymMaps.d.ts.map +1 -0
  687. package/dist/react-native/generated/service/operationsInterfaces/synonymMaps.js +9 -0
  688. package/dist/react-native/generated/service/operationsInterfaces/synonymMaps.js.map +1 -0
  689. package/dist/react-native/generated/service/searchServiceClient.d.ts +28 -0
  690. package/dist/react-native/generated/service/searchServiceClient.d.ts.map +1 -0
  691. package/dist/react-native/generated/service/searchServiceClient.js +116 -0
  692. package/dist/react-native/generated/service/searchServiceClient.js.map +1 -0
  693. package/dist/react-native/geographyPoint.d.ts +27 -0
  694. package/dist/react-native/geographyPoint.d.ts.map +1 -0
  695. package/dist/react-native/geographyPoint.js +36 -0
  696. package/dist/react-native/geographyPoint.js.map +1 -0
  697. package/dist/react-native/index.d.ts +15 -0
  698. package/dist/react-native/index.d.ts.map +1 -0
  699. package/dist/react-native/index.js +16 -0
  700. package/dist/react-native/index.js.map +1 -0
  701. package/dist/react-native/indexDocumentsBatch.d.ts +41 -0
  702. package/dist/react-native/indexDocumentsBatch.d.ts.map +1 -0
  703. package/dist/react-native/indexDocumentsBatch.js +79 -0
  704. package/dist/react-native/indexDocumentsBatch.js.map +1 -0
  705. package/dist/react-native/indexModels.d.ts +722 -0
  706. package/dist/react-native/indexModels.d.ts.map +1 -0
  707. package/dist/react-native/indexModels.js +4 -0
  708. package/dist/react-native/indexModels.js.map +1 -0
  709. package/dist/react-native/logger.d.ts +5 -0
  710. package/dist/react-native/logger.d.ts.map +1 -0
  711. package/dist/react-native/logger.js +8 -0
  712. package/dist/react-native/logger.js.map +1 -0
  713. package/dist/react-native/odata.d.ts +14 -0
  714. package/dist/react-native/odata.d.ts.map +1 -0
  715. package/dist/react-native/odata.js +47 -0
  716. package/dist/react-native/odata.js.map +1 -0
  717. package/dist/react-native/odataMetadataPolicy.d.ts +9 -0
  718. package/dist/react-native/odataMetadataPolicy.d.ts.map +1 -0
  719. package/dist/react-native/odataMetadataPolicy.js +18 -0
  720. package/dist/react-native/odataMetadataPolicy.js.map +1 -0
  721. package/dist/react-native/package.json +3 -0
  722. package/dist/react-native/searchApiKeyCredentialPolicy.d.ts +8 -0
  723. package/dist/react-native/searchApiKeyCredentialPolicy.d.ts.map +1 -0
  724. package/dist/react-native/searchApiKeyCredentialPolicy.js +20 -0
  725. package/dist/react-native/searchApiKeyCredentialPolicy.js.map +1 -0
  726. package/dist/react-native/searchAudience.d.ts +18 -0
  727. package/dist/react-native/searchAudience.d.ts.map +1 -0
  728. package/dist/react-native/searchAudience.js +21 -0
  729. package/dist/react-native/searchAudience.js.map +1 -0
  730. package/dist/react-native/searchClient.d.ts +266 -0
  731. package/dist/react-native/searchClient.d.ts.map +1 -0
  732. package/dist/react-native/searchClient.js +664 -0
  733. package/dist/react-native/searchClient.js.map +1 -0
  734. package/dist/react-native/searchIndexClient.d.ts +177 -0
  735. package/dist/react-native/searchIndexClient.d.ts.map +1 -0
  736. package/dist/react-native/searchIndexClient.js +509 -0
  737. package/dist/react-native/searchIndexClient.js.map +1 -0
  738. package/dist/react-native/searchIndexerClient.d.ts +187 -0
  739. package/dist/react-native/searchIndexerClient.d.ts.map +1 -0
  740. package/dist/react-native/searchIndexerClient.js +586 -0
  741. package/dist/react-native/searchIndexerClient.js.map +1 -0
  742. package/dist/react-native/searchIndexingBufferedSender.d.ts +193 -0
  743. package/dist/react-native/searchIndexingBufferedSender.d.ts.map +1 -0
  744. package/dist/react-native/searchIndexingBufferedSender.js +322 -0
  745. package/dist/react-native/searchIndexingBufferedSender.js.map +1 -0
  746. package/dist/react-native/serialization.d.ts +3 -0
  747. package/dist/react-native/serialization.d.ts.map +1 -0
  748. package/dist/react-native/serialization.js +144 -0
  749. package/dist/react-native/serialization.js.map +1 -0
  750. package/dist/react-native/serviceModels.d.ts +2181 -0
  751. package/dist/react-native/serviceModels.d.ts.map +1 -0
  752. package/dist/react-native/serviceModels.js +654 -0
  753. package/dist/react-native/serviceModels.js.map +1 -0
  754. package/dist/react-native/serviceUtils.d.ts +35 -0
  755. package/dist/react-native/serviceUtils.d.ts.map +1 -0
  756. package/dist/react-native/serviceUtils.js +518 -0
  757. package/dist/react-native/serviceUtils.js.map +1 -0
  758. package/dist/react-native/synonymMapHelper.d.ts +10 -0
  759. package/dist/react-native/synonymMapHelper.d.ts.map +1 -0
  760. package/dist/react-native/synonymMapHelper.js +24 -0
  761. package/dist/react-native/synonymMapHelper.js.map +1 -0
  762. package/dist/react-native/tracing.d.ts +7 -0
  763. package/dist/react-native/tracing.d.ts.map +1 -0
  764. package/dist/react-native/tracing.js +13 -0
  765. package/dist/react-native/tracing.js.map +1 -0
  766. package/dist/react-native/walk.d.ts +2 -0
  767. package/dist/react-native/walk.d.ts.map +1 -0
  768. package/dist/react-native/walk.js +76 -0
  769. package/dist/react-native/walk.js.map +1 -0
  770. package/package.json +88 -81
  771. package/dist/index.js +0 -15948
  772. package/dist/index.js.map +0 -1
  773. package/dist-esm/src/base64.browser.js.map +0 -1
  774. package/dist-esm/src/errorModels.js.map +0 -1
  775. package/dist-esm/src/generated/data/index.js.map +0 -1
  776. package/dist-esm/src/generated/data/models/index.js +0 -286
  777. package/dist-esm/src/generated/data/models/index.js.map +0 -1
  778. package/dist-esm/src/generated/data/models/mappers.js.map +0 -1
  779. package/dist-esm/src/generated/data/models/parameters.js.map +0 -1
  780. package/dist-esm/src/generated/data/operations/documents.js.map +0 -1
  781. package/dist-esm/src/generated/data/operations/index.js.map +0 -1
  782. package/dist-esm/src/generated/data/operationsInterfaces/documents.js.map +0 -1
  783. package/dist-esm/src/generated/data/operationsInterfaces/index.js.map +0 -1
  784. package/dist-esm/src/generated/data/searchClient.js.map +0 -1
  785. package/dist-esm/src/generated/service/index.js.map +0 -1
  786. package/dist-esm/src/generated/service/models/index.js.map +0 -1
  787. package/dist-esm/src/generated/service/models/mappers.js.map +0 -1
  788. package/dist-esm/src/generated/service/models/parameters.js.map +0 -1
  789. package/dist-esm/src/generated/service/operations/aliases.js.map +0 -1
  790. package/dist-esm/src/generated/service/operations/dataSources.js.map +0 -1
  791. package/dist-esm/src/generated/service/operations/index.js +0 -14
  792. package/dist-esm/src/generated/service/operations/index.js.map +0 -1
  793. package/dist-esm/src/generated/service/operations/indexers.js.map +0 -1
  794. package/dist-esm/src/generated/service/operations/indexes.js.map +0 -1
  795. package/dist-esm/src/generated/service/operations/skillsets.js.map +0 -1
  796. package/dist-esm/src/generated/service/operations/synonymMaps.js.map +0 -1
  797. package/dist-esm/src/generated/service/operationsInterfaces/aliases.js.map +0 -1
  798. package/dist-esm/src/generated/service/operationsInterfaces/dataSources.js.map +0 -1
  799. package/dist-esm/src/generated/service/operationsInterfaces/index.js +0 -14
  800. package/dist-esm/src/generated/service/operationsInterfaces/index.js.map +0 -1
  801. package/dist-esm/src/generated/service/operationsInterfaces/indexers.js.map +0 -1
  802. package/dist-esm/src/generated/service/operationsInterfaces/indexes.js.map +0 -1
  803. package/dist-esm/src/generated/service/operationsInterfaces/skillsets.js.map +0 -1
  804. package/dist-esm/src/generated/service/operationsInterfaces/synonymMaps.js.map +0 -1
  805. package/dist-esm/src/generated/service/searchServiceClient.js.map +0 -1
  806. package/dist-esm/src/geographyPoint.js.map +0 -1
  807. package/dist-esm/src/index.js +0 -16
  808. package/dist-esm/src/index.js.map +0 -1
  809. package/dist-esm/src/indexDocumentsBatch.js.map +0 -1
  810. package/dist-esm/src/indexModels.js.map +0 -1
  811. package/dist-esm/src/odataMetadataPolicy.js.map +0 -1
  812. package/dist-esm/src/searchApiKeyCredentialPolicy.js.map +0 -1
  813. package/dist-esm/src/searchClient.js.map +0 -1
  814. package/dist-esm/src/searchIndexClient.js.map +0 -1
  815. package/dist-esm/src/searchIndexerClient.js.map +0 -1
  816. package/dist-esm/src/searchIndexingBufferedSender.js.map +0 -1
  817. package/dist-esm/src/serialization.js.map +0 -1
  818. package/dist-esm/src/serviceModels.js.map +0 -1
  819. package/dist-esm/src/serviceUtils.js.map +0 -1
  820. package/dist-esm/src/synonymMapHelper.browser.js.map +0 -1
  821. package/dist-esm/src/walk.js.map +0 -1
  822. package/types/search-documents.d.ts +0 -8041
  823. /package/{dist-esm/src → dist/browser}/errorModels.js +0 -0
  824. /package/{dist-esm/src → dist/browser}/generated/data/operationsInterfaces/documents.js +0 -0
  825. /package/{dist-esm/src → dist/browser}/generated/service/operationsInterfaces/dataSources.js +0 -0
  826. /package/{dist-esm/src → dist/browser}/generated/service/operationsInterfaces/indexers.js +0 -0
  827. /package/{dist-esm/src → dist/browser}/generated/service/operationsInterfaces/indexes.js +0 -0
  828. /package/{dist-esm/src → dist/browser}/generated/service/operationsInterfaces/skillsets.js +0 -0
  829. /package/{dist-esm/src → dist/browser}/generated/service/operationsInterfaces/synonymMaps.js +0 -0
  830. /package/{dist-esm/src → dist/browser}/indexModels.js +0 -0
  831. /package/{dist-esm/src → dist/browser}/logger.js +0 -0
  832. /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
  833. /package/{dist-esm/src → dist/browser}/odata.js +0 -0
  834. /package/{dist-esm/src → dist/browser}/odata.js.map +0 -0
  835. /package/{dist-esm/src → dist/browser}/odataMetadataPolicy.js +0 -0
  836. /package/{dist-esm/src → dist/browser}/searchApiKeyCredentialPolicy.js +0 -0
  837. /package/{dist-esm/src → dist/browser}/searchAudience.js +0 -0
  838. /package/{dist-esm/src → dist/browser}/searchAudience.js.map +0 -0
  839. /package/{dist-esm/src → dist/browser}/serviceModels.js +0 -0
  840. /package/{dist-esm/src → dist/browser}/tracing.js +0 -0
  841. /package/{dist-esm/src → dist/browser}/tracing.js.map +0 -0
  842. /package/{dist-esm/src → dist/esm}/base64.js +0 -0
  843. /package/{dist-esm/src → dist/esm}/base64.js.map +0 -0
  844. /package/{dist-esm/src → dist/esm}/synonymMapHelper.js +0 -0
@@ -0,0 +1,2181 @@
1
+ import { OperationOptions } from "@azure/core-client";
2
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
3
+ import { AsciiFoldingTokenFilter, AzureOpenAIModelName, BaseLexicalNormalizer, BM25Similarity, BinaryQuantizationCompression, CharFilterName, CjkBigramTokenFilter, ClassicSimilarity, ClassicTokenizer, CognitiveServicesAccountKey, CommonGramTokenFilter, ConditionalSkill, CorsOptions, CustomEntity, CustomLexicalNormalizer, DefaultCognitiveServicesAccount, DictionaryDecompounderTokenFilter, DistanceScoringFunction, DocumentExtractionSkill, DocumentIntelligenceLayoutSkill, EdgeNGramTokenFilterSide, EdgeNGramTokenizer, ElisionTokenFilter, EntityLinkingSkill, EntityRecognitionSkillV3, FieldMapping, FreshnessScoringFunction, HighWaterMarkChangeDetectionPolicy, IndexProjectionMode, IndexingSchedule, KeepTokenFilter, KeywordMarkerTokenFilter, KnownBlobIndexerDataToExtract, KnownBlobIndexerImageAction, KnownBlobIndexerPDFTextRotationAlgorithm, KnownBlobIndexerParsingMode, KnownCharFilterName, KnownCustomEntityLookupSkillLanguage, KnownEntityCategory, KnownEntityRecognitionSkillLanguage, KnownImageAnalysisSkillLanguage, KnownImageDetail, KnownIndexerExecutionEnvironment, KnownKeyPhraseExtractionSkillLanguage, KnownLexicalAnalyzerName, KnownLexicalTokenizerName, KnownOcrSkillLanguage, KnownPIIDetectionSkillMaskingMode, KnownRegexFlags, KnownSearchFieldDataType, KnownSearchIndexerDataSourceType, KnownSentimentSkillLanguage, KnownSplitSkillLanguage, KnownTextSplitMode, KnownTextTranslationSkillLanguage, KnownTokenFilterName, KnownVectorSearchAlgorithmKind, KnownVectorSearchAlgorithmMetric, KnownVisualFeature, LanguageDetectionSkill, LengthTokenFilter, LexicalAnalyzerName, LexicalNormalizerName, LexicalTokenizerName, LimitTokenFilter, LuceneStandardAnalyzer, MagnitudeScoringFunction, MappingCharFilter, MergeSkill, MicrosoftLanguageStemmingTokenizer, MicrosoftLanguageTokenizer, NGramTokenizer, PathHierarchyTokenizerV2 as PathHierarchyTokenizer, PatternCaptureTokenFilter, PatternReplaceCharFilter, PatternReplaceTokenFilter, PhoneticTokenFilter, ScalarQuantizationCompression, ScoringFunctionAggregation, SearchIndexerDataContainer, SearchIndexerDataNoneIdentity, SearchIndexerDataUserAssignedIdentity, SearchIndexerIndexProjectionSelector, SearchIndexerKnowledgeStoreProjection, SearchIndexerSkill as BaseSearchIndexerSkill, SemanticSearch, SentimentSkillV3, ServiceCounters, ServiceLimits, ShaperSkill, ShingleTokenFilter, SnowballTokenFilter, SoftDeleteColumnDeletionDetectionPolicy, SqlIntegratedChangeTrackingPolicy, StemmerOverrideTokenFilter, StemmerTokenFilter, StopAnalyzer, StopwordsTokenFilter, Suggester as SearchSuggester, SynonymTokenFilter, TagScoringFunction, TextWeights, TokenFilterName, TruncateTokenFilter, UaxUrlEmailTokenizer, UniqueTokenFilter, VectorEncodingFormat, VectorSearchProfile, VectorSearchVectorizerKind, WordDelimiterTokenFilter } from "./generated/service/models/index.js";
4
+ /**
5
+ * Options for a list skillsets operation.
6
+ */
7
+ export type ListSkillsetsOptions = OperationOptions;
8
+ /**
9
+ * Options for a list synonymMaps operation.
10
+ */
11
+ export type ListSynonymMapsOptions = OperationOptions;
12
+ /**
13
+ * Options for a list indexes operation.
14
+ */
15
+ export type ListIndexesOptions = OperationOptions;
16
+ /**
17
+ * Options for a list indexers operation.
18
+ */
19
+ export type ListIndexersOptions = OperationOptions;
20
+ /**
21
+ * Options for a list data sources operation.
22
+ */
23
+ export type ListDataSourceConnectionsOptions = OperationOptions;
24
+ /**
25
+ * Options for get index operation.
26
+ */
27
+ export type GetIndexOptions = OperationOptions;
28
+ /**
29
+ * Options for get skillset operation.
30
+ */
31
+ export type GetSkillSetOptions = OperationOptions;
32
+ /**
33
+ * Options for get synonymmaps operation.
34
+ */
35
+ export type GetSynonymMapsOptions = OperationOptions;
36
+ /**
37
+ * Options for get indexer operation.
38
+ */
39
+ export type GetIndexerOptions = OperationOptions;
40
+ /**
41
+ * Options for get datasource operation.
42
+ */
43
+ export type GetDataSourceConnectionOptions = OperationOptions;
44
+ /**
45
+ * Options for get index statistics operation.
46
+ */
47
+ export type GetIndexStatisticsOptions = OperationOptions;
48
+ /**
49
+ * Statistics for a given index. Statistics are collected periodically and are not guaranteed to
50
+ * always be up-to-date.
51
+ */
52
+ export interface SearchIndexStatistics {
53
+ /**
54
+ * The number of documents in the index.
55
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
56
+ */
57
+ readonly documentCount: number;
58
+ /**
59
+ * The amount of storage in bytes consumed by the index.
60
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
61
+ */
62
+ readonly storageSize: number;
63
+ /**
64
+ * The amount of memory in bytes consumed by vectors in the index.
65
+ * NOTE: This property will not be serialized. It can only be populated by the server.
66
+ */
67
+ readonly vectorIndexSize: number;
68
+ }
69
+ /**
70
+ * Response from a get service statistics request. If successful, it includes service level
71
+ * counters and limits.
72
+ */
73
+ export interface SearchServiceStatistics {
74
+ /**
75
+ * Service level resource counters.
76
+ */
77
+ counters: ServiceCounters;
78
+ /**
79
+ * Service level general limits.
80
+ */
81
+ limits: ServiceLimits;
82
+ }
83
+ /**
84
+ * Options for get service statistics operation.
85
+ */
86
+ export type GetServiceStatisticsOptions = OperationOptions;
87
+ /**
88
+ * Options for get indexer status operation.
89
+ */
90
+ export type GetIndexerStatusOptions = OperationOptions;
91
+ /**
92
+ * Options for reset indexer operation.
93
+ */
94
+ export type ResetIndexerOptions = OperationOptions;
95
+ /**
96
+ * Options for run indexer operation.
97
+ */
98
+ export type RunIndexerOptions = OperationOptions;
99
+ /**
100
+ * Options for create index operation.
101
+ */
102
+ export type CreateIndexOptions = OperationOptions;
103
+ /**
104
+ * Options for create skillset operation.
105
+ */
106
+ export type CreateSkillsetOptions = OperationOptions;
107
+ /**
108
+ * Options for create alias operation.
109
+ */
110
+ export type CreateAliasOptions = OperationOptions;
111
+ /**
112
+ * Options for create or update alias operation.
113
+ */
114
+ export interface CreateOrUpdateAliasOptions extends OperationOptions {
115
+ /**
116
+ * If set to true, Resource will be deleted only if the etag matches.
117
+ */
118
+ onlyIfUnchanged?: boolean;
119
+ }
120
+ /**
121
+ * Options for delete alias operation.
122
+ */
123
+ export interface DeleteAliasOptions extends OperationOptions {
124
+ /**
125
+ * If set to true, Resource will be deleted only if the etag matches.
126
+ */
127
+ onlyIfUnchanged?: boolean;
128
+ }
129
+ /**
130
+ * Options for get alias operation.
131
+ */
132
+ export type GetAliasOptions = OperationOptions;
133
+ /**
134
+ * Options for list aliases operation.
135
+ */
136
+ export type ListAliasesOptions = OperationOptions;
137
+ /**
138
+ * Options for create synonymmap operation.
139
+ */
140
+ export type CreateSynonymMapOptions = OperationOptions;
141
+ /**
142
+ * Options for create indexer operation.
143
+ */
144
+ export type CreateIndexerOptions = OperationOptions;
145
+ /**
146
+ * Options for create datasource operation.
147
+ */
148
+ export type CreateDataSourceConnectionOptions = OperationOptions;
149
+ /**
150
+ * Options for create/update index operation.
151
+ */
152
+ export interface CreateOrUpdateIndexOptions extends OperationOptions {
153
+ /**
154
+ * Allows new analyzers, tokenizers, token filters, or char filters to be added to an index by
155
+ * taking the index offline for at least a few seconds. This temporarily causes indexing and
156
+ * query requests to fail. Performance and write availability of the index can be impaired for
157
+ * several minutes after the index is updated, or longer for very large indexes.
158
+ */
159
+ allowIndexDowntime?: boolean;
160
+ /**
161
+ * If set to true, Resource will be deleted only if the etag matches.
162
+ */
163
+ onlyIfUnchanged?: boolean;
164
+ }
165
+ /**
166
+ * Options for reset docs operation.
167
+ */
168
+ export interface ResetDocumentsOptions extends OperationOptions {
169
+ /** document keys to be reset */
170
+ documentKeys?: string[];
171
+ /** datasource document identifiers to be reset */
172
+ datasourceDocumentIds?: string[];
173
+ /** If false, keys or ids will be appended to existing ones. If true, only the keys or ids in this payload will be queued to be re-ingested. */
174
+ overwrite?: boolean;
175
+ }
176
+ /**
177
+ * Options for reset skills operation.
178
+ */
179
+ export interface ResetSkillsOptions extends OperationOptions {
180
+ /** the names of skills to be reset. */
181
+ skillNames?: string[];
182
+ }
183
+ /**
184
+ * Options for create/update skillset operation.
185
+ */
186
+ export interface CreateOrUpdateSkillsetOptions extends OperationOptions {
187
+ /**
188
+ * If set to true, Resource will be updated only if the etag matches.
189
+ */
190
+ onlyIfUnchanged?: boolean;
191
+ }
192
+ /**
193
+ * Options for create/update synonymmap operation.
194
+ */
195
+ export interface CreateOrUpdateSynonymMapOptions extends OperationOptions {
196
+ /**
197
+ * If set to true, Resource will be updated only if the etag matches.
198
+ */
199
+ onlyIfUnchanged?: boolean;
200
+ }
201
+ /**
202
+ * Options for create/update indexer operation.
203
+ */
204
+ export interface CreateorUpdateIndexerOptions extends OperationOptions {
205
+ /**
206
+ * If set to true, Resource will be updated only if the etag matches.
207
+ */
208
+ onlyIfUnchanged?: boolean;
209
+ }
210
+ /**
211
+ * Options for create/update datasource operation.
212
+ */
213
+ export interface CreateorUpdateDataSourceConnectionOptions extends OperationOptions {
214
+ /**
215
+ * If set to true, Resource will be updated only if the etag matches.
216
+ */
217
+ onlyIfUnchanged?: boolean;
218
+ }
219
+ /**
220
+ * Options for delete index operation.
221
+ */
222
+ export interface DeleteIndexOptions extends OperationOptions {
223
+ /**
224
+ * If set to true, Resource will be deleted only if the etag matches.
225
+ */
226
+ onlyIfUnchanged?: boolean;
227
+ }
228
+ /**
229
+ * Options for delete skillset operaion.
230
+ */
231
+ export interface DeleteSkillsetOptions extends OperationOptions {
232
+ /**
233
+ * If set to true, Resource will be deleted only if the etag matches.
234
+ */
235
+ onlyIfUnchanged?: boolean;
236
+ }
237
+ /**
238
+ * Options for delete synonymmap operation.
239
+ */
240
+ export interface DeleteSynonymMapOptions extends OperationOptions {
241
+ /**
242
+ * If set to true, Resource will be deleted only if the etag matches.
243
+ */
244
+ onlyIfUnchanged?: boolean;
245
+ }
246
+ /**
247
+ * Options for delete indexer operation.
248
+ */
249
+ export interface DeleteIndexerOptions extends OperationOptions {
250
+ /**
251
+ * If set to true, Resource will be deleted only if the etag matches.
252
+ */
253
+ onlyIfUnchanged?: boolean;
254
+ }
255
+ /**
256
+ * Options for delete datasource operation.
257
+ */
258
+ export interface DeleteDataSourceConnectionOptions extends OperationOptions {
259
+ /**
260
+ * If set to true, Resource will be deleted only if the etag matches.
261
+ */
262
+ onlyIfUnchanged?: boolean;
263
+ }
264
+ /**
265
+ * Specifies some text and analysis components used to break that text into tokens.
266
+ */
267
+ export interface AnalyzeRequest {
268
+ /**
269
+ * The text to break into tokens.
270
+ */
271
+ text: string;
272
+ /**
273
+ * The name of the analyzer to use to break the given text. If this parameter is not specified,
274
+ * you must specify a tokenizer instead. The tokenizer and analyzer parameters are mutually
275
+ * exclusive. {@link KnownAnalyzerNames} is an enum containing built-in analyzer names.
276
+ * NOTE: Either analyzerName or tokenizerName is required in an AnalyzeRequest.
277
+ */
278
+ analyzerName?: LexicalAnalyzerName;
279
+ /**
280
+ * The name of the tokenizer to use to break the given text. If this parameter is not specified,
281
+ * you must specify an analyzer instead. The tokenizer and analyzer parameters are mutually
282
+ * exclusive. {@link KnownTokenizerNames} is an enum containing built-in tokenizer names.
283
+ * NOTE: Either analyzerName or tokenizerName is required in an AnalyzeRequest.
284
+ */
285
+ tokenizerName?: LexicalTokenizerName;
286
+ /**
287
+ * An optional list of token filters to use when breaking the given text. This parameter can only
288
+ * be set when using the tokenizer parameter.
289
+ */
290
+ tokenFilters?: TokenFilterName[];
291
+ /**
292
+ * An optional list of character filters to use when breaking the given text. This parameter can
293
+ * only be set when using the tokenizer parameter.
294
+ */
295
+ charFilters?: CharFilterName[];
296
+ }
297
+ /**
298
+ * Options for analyze text operation.
299
+ */
300
+ export type AnalyzeTextOptions = OperationOptions & AnalyzeRequest;
301
+ /**
302
+ * Flexibly separates text into terms via a regular expression pattern. This analyzer is
303
+ * implemented using Apache Lucene.
304
+ */
305
+ export interface PatternAnalyzer {
306
+ /**
307
+ * Polymorphic Discriminator
308
+ */
309
+ odatatype: "#Microsoft.Azure.Search.PatternAnalyzer";
310
+ /**
311
+ * The name of the analyzer. It must only contain letters, digits, spaces, dashes or underscores,
312
+ * can only start and end with alphanumeric characters, and is limited to 128 characters.
313
+ */
314
+ name: string;
315
+ /**
316
+ * A value indicating whether terms should be lower-cased. Default is true. Default value: true.
317
+ */
318
+ lowerCaseTerms?: boolean;
319
+ /**
320
+ * A regular expression pattern to match token separators. Default is an expression that matches
321
+ * one or more whitespace characters. Default value: `\W+`.
322
+ */
323
+ pattern?: string;
324
+ /**
325
+ * Regular expression flags. Possible values include: 'CANON_EQ', 'CASE_INSENSITIVE', 'COMMENTS',
326
+ * 'DOTALL', 'LITERAL', 'MULTILINE', 'UNICODE_CASE', 'UNIX_LINES'
327
+ */
328
+ flags?: RegexFlags[];
329
+ /**
330
+ * A list of stopwords.
331
+ */
332
+ stopwords?: string[];
333
+ }
334
+ /**
335
+ * Allows you to take control over the process of converting text into indexable/searchable tokens.
336
+ * It's a user-defined configuration consisting of a single predefined tokenizer and one or more
337
+ * filters. The tokenizer is responsible for breaking text into tokens, and the filters for
338
+ * modifying tokens emitted by the tokenizer.
339
+ */
340
+ export interface CustomAnalyzer {
341
+ /**
342
+ * Polymorphic Discriminator
343
+ */
344
+ odatatype: "#Microsoft.Azure.Search.CustomAnalyzer";
345
+ /**
346
+ * The name of the analyzer. It must only contain letters, digits, spaces, dashes or underscores,
347
+ * can only start and end with alphanumeric characters, and is limited to 128 characters.
348
+ */
349
+ name: string;
350
+ /**
351
+ * The name of the tokenizer to use to divide continuous text into a sequence of tokens, such as
352
+ * breaking a sentence into words. {@link KnownTokenizerNames} is an enum containing built-in tokenizer names.
353
+ */
354
+ tokenizerName: LexicalTokenizerName;
355
+ /**
356
+ * A list of token filters used to filter out or modify the tokens generated by a tokenizer. For
357
+ * example, you can specify a lowercase filter that converts all characters to lowercase. The
358
+ * filters are run in the order in which they are listed.
359
+ */
360
+ tokenFilters?: TokenFilterName[];
361
+ /**
362
+ * A list of character filters used to prepare input text before it is processed by the
363
+ * tokenizer. For instance, they can replace certain characters or symbols. The filters are run
364
+ * in the order in which they are listed.
365
+ */
366
+ charFilters?: CharFilterName[];
367
+ }
368
+ /**
369
+ * Contains the possible cases for Analyzer.
370
+ */
371
+ export type LexicalAnalyzer = CustomAnalyzer | PatternAnalyzer | LuceneStandardAnalyzer | StopAnalyzer;
372
+ /**
373
+ * Contains the possible cases for LexicalNormalizer.
374
+ */
375
+ export type LexicalNormalizer = BaseLexicalNormalizer | CustomLexicalNormalizer;
376
+ /**
377
+ * A skill that can call a Web API endpoint, allowing you to extend a skillset by having it call
378
+ * your custom code.
379
+ */
380
+ export interface WebApiSkill extends BaseSearchIndexerSkill {
381
+ /**
382
+ * Polymorphic discriminator, which specifies the different types this object can be
383
+ */
384
+ odatatype: "#Microsoft.Skills.Custom.WebApiSkill";
385
+ /**
386
+ * The url for the Web API.
387
+ */
388
+ uri: string;
389
+ /**
390
+ * The headers required to make the http request.
391
+ */
392
+ httpHeaders?: {
393
+ [propertyName: string]: string;
394
+ };
395
+ /**
396
+ * The method for the http request.
397
+ */
398
+ httpMethod?: string;
399
+ /**
400
+ * The desired timeout for the request. Default is 30 seconds.
401
+ */
402
+ timeout?: string;
403
+ /**
404
+ * The desired batch size which indicates number of documents.
405
+ */
406
+ batchSize?: number;
407
+ /**
408
+ * If set, the number of parallel calls that can be made to the Web API.
409
+ */
410
+ degreeOfParallelism?: number;
411
+ /**
412
+ * Applies to custom skills that connect to external code in an Azure function or some other
413
+ * application that provides the transformations. This value should be the application ID
414
+ * created for the function or app when it was registered with Azure Active Directory. When
415
+ * specified, the custom skill connects to the function or app using a managed ID (either system
416
+ * or user-assigned) of the search service and the access token of the function or app, using
417
+ * this value as the resource id for creating the scope of the access token.
418
+ */
419
+ authResourceId?: string;
420
+ /**
421
+ * The user-assigned managed identity used for outbound connections. If an authResourceId is
422
+ * provided and it's not specified, the system-assigned managed identity is used. On updates to
423
+ * the indexer, if the identity is unspecified, the value remains unchanged. If undefined, the
424
+ * value of this property is cleared.
425
+ */
426
+ authIdentity?: SearchIndexerDataIdentity;
427
+ }
428
+ /**
429
+ * Contains the possible cases for Skill.
430
+ */
431
+ export type SearchIndexerSkill = AzureOpenAIEmbeddingSkill | ConditionalSkill | CustomEntityLookupSkill | DocumentExtractionSkill | DocumentIntelligenceLayoutSkill | EntityLinkingSkill | EntityRecognitionSkill | EntityRecognitionSkillV3 | ImageAnalysisSkill | KeyPhraseExtractionSkill | LanguageDetectionSkill | MergeSkill | OcrSkill | PIIDetectionSkill | SentimentSkill | SentimentSkillV3 | ShaperSkill | SplitSkill | TextTranslationSkill | WebApiSkill;
432
+ /**
433
+ * Contains the possible cases for CognitiveServicesAccount.
434
+ */
435
+ export type CognitiveServicesAccount = DefaultCognitiveServicesAccount | CognitiveServicesAccountKey;
436
+ /**
437
+ * Tokenizer that uses regex pattern matching to construct distinct tokens. This tokenizer is
438
+ * implemented using Apache Lucene.
439
+ */
440
+ export interface PatternTokenizer {
441
+ /**
442
+ * Polymorphic Discriminator
443
+ */
444
+ odatatype: "#Microsoft.Azure.Search.PatternTokenizer";
445
+ /**
446
+ * The name of the tokenizer. It must only contain letters, digits, spaces, dashes or
447
+ * underscores, can only start and end with alphanumeric characters, and is limited to 128
448
+ * characters.
449
+ */
450
+ name: string;
451
+ /**
452
+ * A regular expression pattern to match token separators. Default is an expression that matches
453
+ * one or more whitespace characters. Default value: `\W+`.
454
+ */
455
+ pattern?: string;
456
+ /**
457
+ * Regular expression flags. Possible values include: 'CANON_EQ', 'CASE_INSENSITIVE', 'COMMENTS',
458
+ * 'DOTALL', 'LITERAL', 'MULTILINE', 'UNICODE_CASE', 'UNIX_LINES'
459
+ */
460
+ flags?: RegexFlags[];
461
+ /**
462
+ * The zero-based ordinal of the matching group in the regular expression pattern to extract into
463
+ * tokens. Use -1 if you want to use the entire pattern to split the input into tokens,
464
+ * irrespective of matching groups. Default is -1. Default value: -1.
465
+ */
466
+ group?: number;
467
+ }
468
+ /**
469
+ * Breaks text following the Unicode Text Segmentation rules. This tokenizer is implemented using
470
+ * Apache Lucene.
471
+ */
472
+ export interface LuceneStandardTokenizer {
473
+ /**
474
+ * Polymorphic Discriminator
475
+ */
476
+ odatatype: "#Microsoft.Azure.Search.StandardTokenizerV2" | "#Microsoft.Azure.Search.StandardTokenizer";
477
+ /**
478
+ * The name of the tokenizer. It must only contain letters, digits, spaces, dashes or
479
+ * underscores, can only start and end with alphanumeric characters, and is limited to 128
480
+ * characters.
481
+ */
482
+ name: string;
483
+ /**
484
+ * The maximum token length. Default is 255. Tokens longer than the maximum length are split. The
485
+ * maximum token length that can be used is 300 characters. Default value: 255.
486
+ */
487
+ maxTokenLength?: number;
488
+ }
489
+ /**
490
+ * Generates n-grams of the given size(s) starting from the front or the back of an input token.
491
+ * This token filter is implemented using Apache Lucene.
492
+ */
493
+ export interface EdgeNGramTokenFilter {
494
+ /**
495
+ * Polymorphic Discriminator
496
+ */
497
+ odatatype: "#Microsoft.Azure.Search.EdgeNGramTokenFilterV2" | "#Microsoft.Azure.Search.EdgeNGramTokenFilter";
498
+ /**
499
+ * The name of the token filter. It must only contain letters, digits, spaces, dashes or
500
+ * underscores, can only start and end with alphanumeric characters, and is limited to 128
501
+ * characters.
502
+ */
503
+ name: string;
504
+ /**
505
+ * The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of
506
+ * maxGram. Default value: 1.
507
+ */
508
+ minGram?: number;
509
+ /**
510
+ * The maximum n-gram length. Default is 2. Maximum is 300. Default value: 2.
511
+ */
512
+ maxGram?: number;
513
+ /**
514
+ * Specifies which side of the input the n-gram should be generated from. Default is "front".
515
+ * Possible values include: 'Front', 'Back'
516
+ */
517
+ side?: EdgeNGramTokenFilterSide;
518
+ }
519
+ /**
520
+ * Emits the entire input as a single token. This tokenizer is implemented using Apache Lucene.
521
+ */
522
+ export interface KeywordTokenizer {
523
+ /**
524
+ * Polymorphic Discriminator
525
+ */
526
+ odatatype: "#Microsoft.Azure.Search.KeywordTokenizerV2" | "#Microsoft.Azure.Search.KeywordTokenizer";
527
+ /**
528
+ * The name of the tokenizer. It must only contain letters, digits, spaces, dashes or
529
+ * underscores, can only start and end with alphanumeric characters, and is limited to 128
530
+ * characters.
531
+ */
532
+ name: string;
533
+ /**
534
+ * The maximum token length. Default is 256. Tokens longer than the maximum length are split. The
535
+ * maximum token length that can be used is 300 characters. Default value: 256.
536
+ */
537
+ maxTokenLength?: number;
538
+ }
539
+ /**
540
+ * Contains the possible cases for Tokenizer.
541
+ */
542
+ export type LexicalTokenizer = ClassicTokenizer | EdgeNGramTokenizer | KeywordTokenizer | MicrosoftLanguageTokenizer | MicrosoftLanguageStemmingTokenizer | NGramTokenizer | PathHierarchyTokenizer | PatternTokenizer | LuceneStandardTokenizer | UaxUrlEmailTokenizer;
543
+ /**
544
+ * Definition of additional projections to azure blob, table, or files, of enriched data.
545
+ */
546
+ export interface SearchIndexerKnowledgeStore {
547
+ /**
548
+ * The connection string to the storage account projections will be stored in.
549
+ */
550
+ storageConnectionString: string;
551
+ /**
552
+ * A list of additional projections to perform during indexing.
553
+ */
554
+ projections: SearchIndexerKnowledgeStoreProjection[];
555
+ /**
556
+ * The user-assigned managed identity used for connections to Azure Storage when writing
557
+ * knowledge store projections. If the connection string indicates an identity (ResourceId) and
558
+ * it's not specified, the system-assigned managed identity is used. On updates to the indexer,
559
+ * if the identity is unspecified, the value remains unchanged. If set to "none", the value of
560
+ * this property is cleared.
561
+ */
562
+ identity?: SearchIndexerDataIdentity;
563
+ }
564
+ /**
565
+ * Contains the possible cases for Similarity.
566
+ */
567
+ export type SimilarityAlgorithm = ClassicSimilarity | BM25Similarity;
568
+ /**
569
+ * Generates n-grams of the given size(s). This token filter is implemented using Apache Lucene.
570
+ */
571
+ export interface NGramTokenFilter {
572
+ /**
573
+ * Polymorphic Discriminator
574
+ */
575
+ odatatype: "#Microsoft.Azure.Search.NGramTokenFilterV2" | "#Microsoft.Azure.Search.NGramTokenFilter";
576
+ /**
577
+ * The name of the token filter. It must only contain letters, digits, spaces, dashes or
578
+ * underscores, can only start and end with alphanumeric characters, and is limited to 128
579
+ * characters.
580
+ */
581
+ name: string;
582
+ /**
583
+ * The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of
584
+ * maxGram. Default value: 1.
585
+ */
586
+ minGram?: number;
587
+ /**
588
+ * The maximum n-gram length. Default is 2. Maximum is 300. Default value: 2.
589
+ */
590
+ maxGram?: number;
591
+ }
592
+ /**
593
+ * Contains the possible cases for TokenFilter.
594
+ */
595
+ export type TokenFilter = AsciiFoldingTokenFilter | CjkBigramTokenFilter | CommonGramTokenFilter | DictionaryDecompounderTokenFilter | EdgeNGramTokenFilter | ElisionTokenFilter | KeepTokenFilter | KeywordMarkerTokenFilter | LengthTokenFilter | LimitTokenFilter | NGramTokenFilter | PatternCaptureTokenFilter | PatternReplaceTokenFilter | PhoneticTokenFilter | ShingleTokenFilter | SnowballTokenFilter | StemmerTokenFilter | StemmerOverrideTokenFilter | StopwordsTokenFilter | SynonymTokenFilter | TruncateTokenFilter | UniqueTokenFilter | WordDelimiterTokenFilter;
596
+ /**
597
+ * Contains the possible cases for CharFilter.
598
+ */
599
+ export type CharFilter = MappingCharFilter | PatternReplaceCharFilter;
600
+ /**
601
+ * Contains the possible cases for ScoringFunction.
602
+ */
603
+ export type ScoringFunction = DistanceScoringFunction | FreshnessScoringFunction | MagnitudeScoringFunction | TagScoringFunction;
604
+ /**
605
+ * Defines values for ComplexDataType.
606
+ * Possible values include: 'Edm.ComplexType', 'Collection(Edm.ComplexType)'
607
+ * @readonly
608
+ */
609
+ export type ComplexDataType = "Edm.ComplexType" | "Collection(Edm.ComplexType)";
610
+ /**
611
+ * Represents a field in an index definition, which describes the name, data type, and search
612
+ * behavior of a field.
613
+ */
614
+ export type SearchField = SimpleField | ComplexField;
615
+ /**
616
+ * Represents a field in an index definition, which describes the name, data type, and search
617
+ * behavior of a field.
618
+ */
619
+ export interface SimpleField {
620
+ /**
621
+ * The name of the field, which must be unique within the fields collection of the index or
622
+ * parent field.
623
+ */
624
+ name: string;
625
+ /**
626
+ * The data type of the field.
627
+ */
628
+ type: SearchFieldDataType;
629
+ /**
630
+ * A value indicating whether the field uniquely identifies documents in the index. Exactly one
631
+ * top-level field in each index must be chosen as the key field and it must be of type
632
+ * Edm.String. Key fields can be used to look up documents directly and update or delete specific
633
+ * documents. Default is false.
634
+ */
635
+ key?: boolean;
636
+ /**
637
+ * A value indicating whether the field can be returned in a search result. You can disable this
638
+ * option if you want to use a field (for example, margin) as a filter, sorting, or scoring
639
+ * mechanism but do not want the field to be visible to the end user. This property must be false
640
+ * for key fields. This property can be changed on existing fields. Enabling this property does
641
+ * not cause any increase in index storage requirements. Default is true for vector fields, false
642
+ * otherwise.
643
+ */
644
+ hidden?: boolean;
645
+ /**
646
+ * An immutable value indicating whether the field will be persisted separately on disk to be
647
+ * returned in a search result. You can disable this option if you don't plan to return the field
648
+ * contents in a search response to save on storage overhead. This can only be set during index
649
+ * creation and only for vector fields. This property cannot be changed for existing fields or set
650
+ * as false for new fields. If this property is set as false, the property 'hidden' must be set to
651
+ * 'true'. This property must be true or unset for key fields, for new fields, and for non-vector
652
+ * fields. Disabling this property will reduce index storage requirements. The default is true for vector fields.
653
+ */
654
+ stored?: boolean;
655
+ /**
656
+ * A value indicating whether the field is full-text searchable. This means it will undergo
657
+ * analysis such as word-breaking during indexing. If you set a searchable field to a value like
658
+ * "sunny day", internally it will be split into the individual tokens "sunny" and "day". This
659
+ * enables full-text searches for these terms. Fields of type Edm.String or Collection(Edm.String)
660
+ * are searchable by default. This property must be false for simple fields of other non-string
661
+ * data types. Note: searchable fields consume extra space
662
+ * in your index to accommodate additional tokenized versions of the field value for full-text
663
+ * searches. If you want to save space in your index and you don't need a field to be included in
664
+ * searches, set searchable to false. Default is false.
665
+ */
666
+ searchable?: boolean;
667
+ /**
668
+ * A value indicating whether to enable the field to be referenced in $filter queries. filterable
669
+ * differs from searchable in how strings are handled. Fields of type Edm.String or
670
+ * Collection(Edm.String) that are filterable do not undergo word-breaking, so comparisons are for
671
+ * exact matches only. For example, if you set such a field f to "sunny day", $filter=f eq 'sunny'
672
+ * will find no matches, but $filter=f eq 'sunny day' will. Default is false.
673
+ */
674
+ filterable?: boolean;
675
+ /**
676
+ * A value indicating whether to enable the field to be referenced in $orderby expressions. By
677
+ * default, the search engine sorts results by score, but in many experiences users will want to
678
+ * sort by fields in the documents. A simple field can be sortable only if it is single-valued (it
679
+ * has a single value in the scope of the parent document). Simple collection fields cannot be
680
+ * sortable, since they are multi-valued. Simple sub-fields of complex collections are also
681
+ * multi-valued, and therefore cannot be sortable. This is true whether it's an immediate parent
682
+ * field, or an ancestor field, that's the complex collection. The default is false.
683
+ *
684
+ */
685
+ sortable?: boolean;
686
+ /**
687
+ * A value indicating whether to enable the field to be referenced in facet queries. Typically
688
+ * used in a presentation of search results that includes hit count by category (for example,
689
+ * search for digital cameras and see hits by brand, by megapixels, by price, and so on). Fields
690
+ * of type Edm.GeographyPoint or Collection(Edm.GeographyPoint) cannot be facetable. Default is
691
+ * false.
692
+ */
693
+ facetable?: boolean;
694
+ /**
695
+ * The name of the analyzer to use for the field. This option can be used only with searchable
696
+ * fields and it can't be set together with either searchAnalyzer or indexAnalyzer. Once the
697
+ * analyzer is chosen, it cannot be changed for the field.
698
+ */
699
+ analyzerName?: LexicalAnalyzerName;
700
+ /**
701
+ * The name of the analyzer used at search time for the field. This option can be used only with
702
+ * searchable fields. It must be set together with `indexAnalyzerName` and it cannot be set
703
+ * together with the `analyzerName` option. This property cannot be set to the name of a language
704
+ * analyzer; use the `analyzerName` property instead if you need a language analyzer. This
705
+ * analyzer can be updated on an existing field.
706
+ */
707
+ searchAnalyzerName?: LexicalAnalyzerName;
708
+ /**
709
+ * The name of the analyzer used at indexing time for the field. This option can be used only
710
+ * with searchable fields. It must be set together with searchAnalyzer and it cannot be set
711
+ * together with the analyzer option. This property cannot be set to the name of a language
712
+ * analyzer; use the analyzer property instead if you need a language analyzer. Once the analyzer
713
+ * is chosen, it cannot be changed for the field.
714
+ */
715
+ indexAnalyzerName?: LexicalAnalyzerName;
716
+ /**
717
+ * A list of the names of synonym maps to associate with this field. This option can be used only
718
+ * with searchable fields. Currently only one synonym map per field is supported. Assigning a
719
+ * synonym map to a field ensures that query terms targeting that field are expanded at query-time
720
+ * using the rules in the synonym map. This attribute can be changed on existing fields.
721
+ */
722
+ synonymMapNames?: string[];
723
+ /**
724
+ * The dimensionality of the vector field.
725
+ */
726
+ vectorSearchDimensions?: number;
727
+ /**
728
+ * The name of the vector search profile that specifies the algorithm and vectorizer to use when
729
+ * searching the vector field.
730
+ */
731
+ vectorSearchProfileName?: string;
732
+ /**
733
+ * The encoding format to interpret the field contents.
734
+ */
735
+ vectorEncodingFormat?: VectorEncodingFormat;
736
+ /** The name of the normalizer to use for the field. This option can be used only with fields with
737
+ * filterable, sortable, or facetable enabled. Once the normalizer is chosen, it cannot be changed
738
+ * for the field. Must be null for complex fields.
739
+ */
740
+ normalizerName?: LexicalNormalizerName;
741
+ }
742
+ export declare function isComplexField(field: SearchField): field is ComplexField;
743
+ /**
744
+ * Represents a field in an index definition, which describes the name, data type, and search
745
+ * behavior of a field.
746
+ */
747
+ export interface ComplexField {
748
+ /**
749
+ * The name of the field, which must be unique within the fields collection of the index or
750
+ * parent field.
751
+ */
752
+ name: string;
753
+ /**
754
+ * The data type of the field.
755
+ * Possible values include: 'Edm.ComplexType','Collection(Edm.ComplexType)'
756
+ */
757
+ type: ComplexDataType;
758
+ /**
759
+ * A list of sub-fields.
760
+ */
761
+ fields?: SearchField[];
762
+ }
763
+ /**
764
+ * Represents a synonym map definition.
765
+ */
766
+ export interface SynonymMap {
767
+ /**
768
+ * The name of the synonym map.
769
+ */
770
+ name: string;
771
+ /**
772
+ * An array of synonym rules in the specified synonym map format.
773
+ */
774
+ synonyms: string[];
775
+ /**
776
+ * A description of an encryption key that you create in Azure Key Vault. This key is used to
777
+ * provide an additional level of encryption-at-rest for your data when you want full assurance
778
+ * that no one, not even Microsoft, can decrypt your data in Azure Cognitive Search. Once you
779
+ * have encrypted your data, it will always remain encrypted. Azure Cognitive Search will ignore
780
+ * attempts to set this property to null. You can change this property as needed if you want to
781
+ * rotate your encryption key; Your data will be unaffected. Encryption with customer-managed
782
+ * keys is not available for free search services, and is only available for paid services
783
+ * created on or after January 1, 2019.
784
+ */
785
+ encryptionKey?: SearchResourceEncryptionKey;
786
+ /**
787
+ * The ETag of the synonym map.
788
+ */
789
+ etag?: string;
790
+ }
791
+ /**
792
+ * An iterator for listing the indexes that exist in the Search service. Will make requests
793
+ * as needed during iteration. Use .byPage() to make one request to the server
794
+ * per iteration.
795
+ */
796
+ export type IndexIterator = PagedAsyncIterableIterator<SearchIndex, SearchIndex[], {}>;
797
+ /**
798
+ * An iterator for listing the indexes that exist in the Search service. Will make requests
799
+ * as needed during iteration. Use .byPage() to make one request to the server
800
+ * per iteration.
801
+ */
802
+ export type IndexNameIterator = PagedAsyncIterableIterator<string, string[], {}>;
803
+ /**
804
+ * Represents a search index definition, which describes the fields and search behavior of an
805
+ * index.
806
+ */
807
+ export interface SearchIndex {
808
+ /**
809
+ * The name of the index.
810
+ */
811
+ name: string;
812
+ /**
813
+ * The description of the index.
814
+ */
815
+ description?: string;
816
+ /**
817
+ * The fields of the index.
818
+ */
819
+ fields: SearchField[];
820
+ /**
821
+ * The scoring profiles for the index.
822
+ */
823
+ scoringProfiles?: ScoringProfile[];
824
+ /**
825
+ * The name of the scoring profile to use if none is specified in the query. If this property is
826
+ * not set and no scoring profile is specified in the query, then default scoring (tf-idf) will
827
+ * be used.
828
+ */
829
+ defaultScoringProfile?: string;
830
+ /**
831
+ * Options to control Cross-Origin Resource Sharing (CORS) for the index.
832
+ */
833
+ corsOptions?: CorsOptions;
834
+ /**
835
+ * The suggesters for the index.
836
+ */
837
+ suggesters?: SearchSuggester[];
838
+ /**
839
+ * The analyzers for the index.
840
+ */
841
+ analyzers?: LexicalAnalyzer[];
842
+ /**
843
+ * The tokenizers for the index.
844
+ */
845
+ tokenizers?: LexicalTokenizer[];
846
+ /**
847
+ * The normalizers for the index.
848
+ */
849
+ normalizers?: LexicalNormalizer[];
850
+ /**
851
+ * The token filters for the index.
852
+ */
853
+ tokenFilters?: TokenFilter[];
854
+ /**
855
+ * The character filters for the index.
856
+ */
857
+ charFilters?: CharFilter[];
858
+ /**
859
+ * A description of an encryption key that you create in Azure Key Vault. This key is used to
860
+ * provide an additional level of encryption-at-rest for your data when you want full assurance
861
+ * that no one, not even Microsoft, can decrypt your data in Azure Cognitive Search. Once you
862
+ * have encrypted your data, it will always remain encrypted. Azure Cognitive Search will ignore
863
+ * attempts to set this property to null. You can change this property as needed if you want to
864
+ * rotate your encryption key; Your data will be unaffected. Encryption with customer-managed
865
+ * keys is not available for free search services, and is only available for paid services
866
+ * created on or after January 1, 2019.
867
+ */
868
+ encryptionKey?: SearchResourceEncryptionKey;
869
+ /**
870
+ * The type of similarity algorithm to be used when scoring and ranking the documents matching a
871
+ * search query. The similarity algorithm can only be defined at index creation time and cannot
872
+ * be modified on existing indexes. If null, the ClassicSimilarity algorithm is used.
873
+ */
874
+ similarity?: SimilarityAlgorithm;
875
+ /**
876
+ * Defines parameters for a search index that influence semantic capabilities.
877
+ */
878
+ semanticSearch?: SemanticSearch;
879
+ /**
880
+ * Contains configuration options related to vector search.
881
+ */
882
+ vectorSearch?: VectorSearch;
883
+ /**
884
+ * The ETag of the index.
885
+ */
886
+ etag?: string;
887
+ }
888
+ export interface SearchIndexerCache {
889
+ /**
890
+ * The connection string to the storage account where the cache data will be persisted.
891
+ */
892
+ storageConnectionString?: string;
893
+ /**
894
+ * Specifies whether incremental reprocessing is enabled.
895
+ */
896
+ enableReprocessing?: boolean;
897
+ /** The user-assigned managed identity used for connections to the enrichment cache. If the
898
+ * connection string indicates an identity (ResourceId) and it's not specified, the
899
+ * system-assigned managed identity is used. On updates to the indexer, if the identity is
900
+ * unspecified, the value remains unchanged. If set to "none", the value of this property is
901
+ * cleared.
902
+ */
903
+ identity?: SearchIndexerDataIdentity;
904
+ }
905
+ /**
906
+ * Represents an indexer.
907
+ */
908
+ export interface SearchIndexer {
909
+ /**
910
+ * The name of the indexer.
911
+ */
912
+ name: string;
913
+ /**
914
+ * The description of the indexer.
915
+ */
916
+ description?: string;
917
+ /**
918
+ * The name of the datasource from which this indexer reads data.
919
+ */
920
+ dataSourceName: string;
921
+ /**
922
+ * The name of the skillset executing with this indexer.
923
+ */
924
+ skillsetName?: string;
925
+ /**
926
+ * The name of the index to which this indexer writes data.
927
+ */
928
+ targetIndexName: string;
929
+ /**
930
+ * The schedule for this indexer.
931
+ */
932
+ schedule?: IndexingSchedule;
933
+ /**
934
+ * Parameters for indexer execution.
935
+ */
936
+ parameters?: IndexingParameters;
937
+ /**
938
+ * Defines mappings between fields in the data source and corresponding target fields in the
939
+ * index.
940
+ */
941
+ fieldMappings?: FieldMapping[];
942
+ /**
943
+ * Output field mappings are applied after enrichment and immediately before indexing.
944
+ */
945
+ outputFieldMappings?: FieldMapping[];
946
+ /**
947
+ * A value indicating whether the indexer is disabled. Default is false. Default value: false.
948
+ */
949
+ isDisabled?: boolean;
950
+ /**
951
+ * The ETag of the indexer.
952
+ */
953
+ etag?: string;
954
+ /**
955
+ * A description of an encryption key that you create in Azure Key Vault. This key is used to
956
+ * provide an additional level of encryption-at-rest for your indexer definition (as well as
957
+ * indexer execution status) when you want full assurance that no one, not even Microsoft, can
958
+ * decrypt them in Azure Cognitive Search. Once you have encrypted your indexer definition, it
959
+ * will always remain encrypted. Azure Cognitive Search will ignore attempts to set this property
960
+ * to null. You can change this property as needed if you want to rotate your encryption key;
961
+ * Your indexer definition (and indexer execution status) will be unaffected. Encryption with
962
+ * customer-managed keys is not available for free search services, and is only available for
963
+ * paid services created on or after January 1, 2019.
964
+ */
965
+ encryptionKey?: SearchResourceEncryptionKey;
966
+ }
967
+ /**
968
+ * A customer-managed encryption key in Azure Key Vault. Keys that you create and manage can be
969
+ * used to encrypt or decrypt data-at-rest in Azure Cognitive Search, such as indexes and synonym
970
+ * maps.
971
+ */
972
+ export interface SearchResourceEncryptionKey {
973
+ /**
974
+ * The name of your Azure Key Vault key to be used to encrypt your data at rest.
975
+ */
976
+ keyName: string;
977
+ /**
978
+ * The version of your Azure Key Vault key to be used to encrypt your data at rest.
979
+ */
980
+ keyVersion: string;
981
+ /**
982
+ * The URI of your Azure Key Vault, also referred to as DNS name, that contains the key to be
983
+ * used to encrypt your data at rest. An example URI might be
984
+ * https://my-keyvault-name.vault.azure.net.
985
+ */
986
+ vaultUrl: string;
987
+ /**
988
+ * An AAD Application ID that was granted the required access permissions to the Azure Key Vault
989
+ * that is to be used when encrypting your data at rest. The Application ID should not be
990
+ * confused with the Object ID for your AAD Application.
991
+ */
992
+ applicationId?: string;
993
+ /**
994
+ * The authentication key of the specified AAD application.
995
+ */
996
+ applicationSecret?: string;
997
+ /**
998
+ * An explicit managed identity to use for this encryption key. If not specified and the access
999
+ * credentials property is null, the system-assigned managed identity is used. On update to the
1000
+ * resource, if the explicit identity is unspecified, it remains unchanged. If "none" is specified,
1001
+ * the value of this property is cleared.
1002
+ */
1003
+ identity?: SearchIndexerDataIdentity;
1004
+ }
1005
+ /**
1006
+ * A list of skills.
1007
+ */
1008
+ export interface SearchIndexerSkillset {
1009
+ /**
1010
+ * The name of the skillset.
1011
+ */
1012
+ name: string;
1013
+ /**
1014
+ * The description of the skillset.
1015
+ */
1016
+ description?: string;
1017
+ /**
1018
+ * A list of skills in the skillset.
1019
+ */
1020
+ skills: SearchIndexerSkill[];
1021
+ /**
1022
+ * Details about cognitive services to be used when running skills.
1023
+ */
1024
+ cognitiveServicesAccount?: CognitiveServicesAccount;
1025
+ /**
1026
+ * Definition of additional projections to azure blob, table, or files, of enriched data.
1027
+ */
1028
+ knowledgeStore?: SearchIndexerKnowledgeStore;
1029
+ /**
1030
+ * Definition of additional projections to secondary search index(es).
1031
+ */
1032
+ indexProjection?: SearchIndexerIndexProjection;
1033
+ /**
1034
+ * The ETag of the skillset.
1035
+ */
1036
+ etag?: string;
1037
+ /**
1038
+ * A description of an encryption key that you create in Azure Key Vault. This key is used to
1039
+ * provide an additional level of encryption-at-rest for your skillset definition when you want
1040
+ * full assurance that no one, not even Microsoft, can decrypt your skillset definition in Azure
1041
+ * Cognitive Search. Once you have encrypted your skillset definition, it will always remain
1042
+ * encrypted. Azure Cognitive Search will ignore attempts to set this property to null. You can
1043
+ * change this property as needed if you want to rotate your encryption key; Your skillset
1044
+ * definition will be unaffected. Encryption with customer-managed keys is not available for free
1045
+ * search services, and is only available for paid services created on or after January 1, 2019.
1046
+ */
1047
+ encryptionKey?: SearchResourceEncryptionKey;
1048
+ }
1049
+ /**
1050
+ * Defines parameters for a search index that influence scoring in search queries.
1051
+ */
1052
+ export interface ScoringProfile {
1053
+ /**
1054
+ * The name of the scoring profile.
1055
+ */
1056
+ name: string;
1057
+ /**
1058
+ * Parameters that boost scoring based on text matches in certain index fields.
1059
+ */
1060
+ textWeights?: TextWeights;
1061
+ /**
1062
+ * The collection of functions that influence the scoring of documents.
1063
+ */
1064
+ functions?: ScoringFunction[];
1065
+ /**
1066
+ * A value indicating how the results of individual scoring functions should be combined.
1067
+ * Defaults to "Sum". Ignored if there are no scoring functions. Possible values include: 'sum',
1068
+ * 'average', 'minimum', 'maximum', 'firstMatching'
1069
+ */
1070
+ functionAggregation?: ScoringFunctionAggregation;
1071
+ }
1072
+ /**
1073
+ * Defines values for TokenizerName.
1074
+ * @readonly
1075
+ */
1076
+ export declare enum KnownTokenizerNames {
1077
+ /**
1078
+ * Grammar-based tokenizer that is suitable for processing most European-language documents. See
1079
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/ClassicTokenizer.html
1080
+ */
1081
+ Classic = "classic",
1082
+ /**
1083
+ * Tokenizes the input from an edge into n-grams of the given size(s). See
1084
+ * https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenizer.html
1085
+ */
1086
+ EdgeNGram = "edgeNGram",
1087
+ /**
1088
+ * Emits the entire input as a single token. See
1089
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/KeywordTokenizer.html
1090
+ */
1091
+ Keyword = "keyword_v2",
1092
+ /**
1093
+ * Divides text at non-letters. See
1094
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/LetterTokenizer.html
1095
+ */
1096
+ Letter = "letter",
1097
+ /**
1098
+ * Divides text at non-letters and converts them to lower case. See
1099
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/LowerCaseTokenizer.html
1100
+ */
1101
+ Lowercase = "lowercase",
1102
+ /**
1103
+ * Divides text using language-specific rules.
1104
+ */
1105
+ MicrosoftLanguageTokenizer = "microsoft_language_tokenizer",
1106
+ /**
1107
+ * Divides text using language-specific rules and reduces words to their base forms.
1108
+ */
1109
+ MicrosoftLanguageStemmingTokenizer = "microsoft_language_stemming_tokenizer",
1110
+ /**
1111
+ * Tokenizes the input into n-grams of the given size(s). See
1112
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenizer.html
1113
+ */
1114
+ NGram = "nGram",
1115
+ /**
1116
+ * Tokenizer for path-like hierarchies. See
1117
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/path/PathHierarchyTokenizer.html
1118
+ */
1119
+ PathHierarchy = "path_hierarchy_v2",
1120
+ /**
1121
+ * Tokenizer that uses regex pattern matching to construct distinct tokens. See
1122
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternTokenizer.html
1123
+ */
1124
+ Pattern = "pattern",
1125
+ /**
1126
+ * Standard Lucene analyzer; Composed of the standard tokenizer, lowercase filter and stop
1127
+ * filter. See
1128
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/StandardTokenizer.html
1129
+ */
1130
+ Standard = "standard_v2",
1131
+ /**
1132
+ * Tokenizes urls and emails as one token. See
1133
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizer.html
1134
+ */
1135
+ UaxUrlEmail = "uax_url_email",
1136
+ /**
1137
+ * Divides text at whitespace. See
1138
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/WhitespaceTokenizer.html
1139
+ */
1140
+ Whitespace = "whitespace"
1141
+ }
1142
+ /**
1143
+ * Defines values for TokenFilterName.
1144
+ * @readonly
1145
+ */
1146
+ export declare enum KnownTokenFilterNames {
1147
+ /**
1148
+ * A token filter that applies the Arabic normalizer to normalize the orthography. See
1149
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ar/ArabicNormalizationFilter.html
1150
+ */
1151
+ ArabicNormalization = "arabic_normalization",
1152
+ /**
1153
+ * Strips all characters after an apostrophe (including the apostrophe itself). See
1154
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/tr/ApostropheFilter.html
1155
+ */
1156
+ Apostrophe = "apostrophe",
1157
+ /**
1158
+ * Converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127
1159
+ * ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if such
1160
+ * equivalents exist. See
1161
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilter.html
1162
+ */
1163
+ AsciiFolding = "asciifolding",
1164
+ /**
1165
+ * Forms bigrams of CJK terms that are generated from StandardTokenizer. See
1166
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/cjk/CJKBigramFilter.html
1167
+ */
1168
+ CjkBigram = "cjk_bigram",
1169
+ /**
1170
+ * Normalizes CJK width differences. Folds fullwidth ASCII variants into the equivalent basic
1171
+ * Latin, and half-width Katakana variants into the equivalent Kana. See
1172
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/cjk/CJKWidthFilter.html
1173
+ */
1174
+ CjkWidth = "cjk_width",
1175
+ /**
1176
+ * Removes English possessives, and dots from acronyms. See
1177
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/ClassicFilter.html
1178
+ */
1179
+ Classic = "classic",
1180
+ /**
1181
+ * Construct bigrams for frequently occurring terms while indexing. Single terms are still
1182
+ * indexed too, with bigrams overlaid. See
1183
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/commongrams/CommonGramsFilter.html
1184
+ */
1185
+ CommonGram = "common_grams",
1186
+ /**
1187
+ * Generates n-grams of the given size(s) starting from the front or the back of an input token.
1188
+ * See
1189
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenFilter.html
1190
+ */
1191
+ EdgeNGram = "edgeNGram_v2",
1192
+ /**
1193
+ * Removes elisions. For example, "l'avion" (the plane) will be converted to "avion" (plane). See
1194
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/util/ElisionFilter.html
1195
+ */
1196
+ Elision = "elision",
1197
+ /**
1198
+ * Normalizes German characters according to the heuristics of the German2 snowball algorithm.
1199
+ * See
1200
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/de/GermanNormalizationFilter.html
1201
+ */
1202
+ GermanNormalization = "german_normalization",
1203
+ /**
1204
+ * Normalizes text in Hindi to remove some differences in spelling variations. See
1205
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/hi/HindiNormalizationFilter.html
1206
+ */
1207
+ HindiNormalization = "hindi_normalization",
1208
+ /**
1209
+ * Normalizes the Unicode representation of text in Indian languages. See
1210
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/in/IndicNormalizationFilter.html
1211
+ */
1212
+ IndicNormalization = "indic_normalization",
1213
+ /**
1214
+ * Emits each incoming token twice, once as keyword and once as non-keyword. See
1215
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/KeywordRepeatFilter.html
1216
+ */
1217
+ KeywordRepeat = "keyword_repeat",
1218
+ /**
1219
+ * A high-performance kstem filter for English. See
1220
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/en/KStemFilter.html
1221
+ */
1222
+ KStem = "kstem",
1223
+ /**
1224
+ * Removes words that are too long or too short. See
1225
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LengthFilter.html
1226
+ */
1227
+ Length = "length",
1228
+ /**
1229
+ * Limits the number of tokens while indexing. See
1230
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LimitTokenCountFilter.html
1231
+ */
1232
+ Limit = "limit",
1233
+ /**
1234
+ * Normalizes token text to lower case. See
1235
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/LowerCaseFilter.htm
1236
+ */
1237
+ Lowercase = "lowercase",
1238
+ /**
1239
+ * Generates n-grams of the given size(s). See
1240
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenFilter.html
1241
+ */
1242
+ NGram = "nGram_v2",
1243
+ /**
1244
+ * Applies normalization for Persian. See
1245
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/fa/PersianNormalizationFilter.html
1246
+ */
1247
+ PersianNormalization = "persian_normalization",
1248
+ /**
1249
+ * Create tokens for phonetic matches. See
1250
+ * https://lucene.apache.org/core/4_10_3/analyzers-phonetic/org/apache/lucene/analysis/phonetic/package-tree.html
1251
+ */
1252
+ Phonetic = "phonetic",
1253
+ /**
1254
+ * Uses the Porter stemming algorithm to transform the token stream. See
1255
+ * http://tartarus.org/~martin/PorterStemmer
1256
+ */
1257
+ PorterStem = "porter_stem",
1258
+ /**
1259
+ * Reverses the token string. See
1260
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/reverse/ReverseStringFilter.html
1261
+ */
1262
+ Reverse = "reverse",
1263
+ /**
1264
+ * Normalizes use of the interchangeable Scandinavian characters. See
1265
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ScandinavianNormalizationFilter.html
1266
+ */
1267
+ ScandinavianNormalization = "scandinavian_normalization",
1268
+ /**
1269
+ * Folds Scandinavian characters åÅäæÄÆ-&gt;a and öÖøØ-&gt;o. It also discriminates against use
1270
+ * of double vowels aa, ae, ao, oe and oo, leaving just the first one. See
1271
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ScandinavianFoldingFilter.html
1272
+ */
1273
+ ScandinavianFoldingNormalization = "scandinavian_folding",
1274
+ /**
1275
+ * Creates combinations of tokens as a single token. See
1276
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/shingle/ShingleFilter.html
1277
+ */
1278
+ Shingle = "shingle",
1279
+ /**
1280
+ * A filter that stems words using a Snowball-generated stemmer. See
1281
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/snowball/SnowballFilter.html
1282
+ */
1283
+ Snowball = "snowball",
1284
+ /**
1285
+ * Normalizes the Unicode representation of Sorani text. See
1286
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ckb/SoraniNormalizationFilter.html
1287
+ */
1288
+ SoraniNormalization = "sorani_normalization",
1289
+ /**
1290
+ * Language specific stemming filter. See
1291
+ * https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search#TokenFilters
1292
+ */
1293
+ Stemmer = "stemmer",
1294
+ /**
1295
+ * Removes stop words from a token stream. See
1296
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/StopFilter.html
1297
+ */
1298
+ Stopwords = "stopwords",
1299
+ /**
1300
+ * Trims leading and trailing whitespace from tokens. See
1301
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/TrimFilter.html
1302
+ */
1303
+ Trim = "trim",
1304
+ /**
1305
+ * Truncates the terms to a specific length. See
1306
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/TruncateTokenFilter.html
1307
+ */
1308
+ Truncate = "truncate",
1309
+ /**
1310
+ * Filters out tokens with same text as the previous token. See
1311
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/RemoveDuplicatesTokenFilter.html
1312
+ */
1313
+ Unique = "unique",
1314
+ /**
1315
+ * Normalizes token text to upper case. See
1316
+ * http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/UpperCaseFilter.html
1317
+ */
1318
+ Uppercase = "uppercase",
1319
+ /**
1320
+ * Splits words into subwords and performs optional transformations on subword groups.
1321
+ */
1322
+ WordDelimiter = "word_delimiter"
1323
+ }
1324
+ /**
1325
+ * Defines values for CharFilterName.
1326
+ * @readonly
1327
+ */
1328
+ export declare enum KnownCharFilterNames {
1329
+ /**
1330
+ * A character filter that attempts to strip out HTML constructs. See
1331
+ * https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.html
1332
+ */
1333
+ HtmlStrip = "html_strip"
1334
+ }
1335
+ /**
1336
+ * Defines values for AnalyzerName.
1337
+ * See https://docs.microsoft.com/rest/api/searchservice/Language-support
1338
+ * @readonly
1339
+ */
1340
+ export declare enum KnownAnalyzerNames {
1341
+ /**
1342
+ * Arabic
1343
+ */
1344
+ ArMicrosoft = "ar.microsoft",
1345
+ /**
1346
+ * Arabic
1347
+ */
1348
+ ArLucene = "ar.lucene",
1349
+ /**
1350
+ * Armenian
1351
+ */
1352
+ HyLucene = "hy.lucene",
1353
+ /**
1354
+ * Bangla
1355
+ */
1356
+ BnMicrosoft = "bn.microsoft",
1357
+ /**
1358
+ * Basque
1359
+ */
1360
+ EuLucene = "eu.lucene",
1361
+ /**
1362
+ * Bulgarian
1363
+ */
1364
+ BgMicrosoft = "bg.microsoft",
1365
+ /**
1366
+ * Bulgarian
1367
+ */
1368
+ BgLucene = "bg.lucene",
1369
+ /**
1370
+ * Catalan
1371
+ */
1372
+ CaMicrosoft = "ca.microsoft",
1373
+ /**
1374
+ * Catalan
1375
+ */
1376
+ CaLucene = "ca.lucene",
1377
+ /**
1378
+ * Chinese Simplified
1379
+ */
1380
+ ZhHansMicrosoft = "zh-Hans.microsoft",
1381
+ /**
1382
+ * Chinese Simplified
1383
+ */
1384
+ ZhHansLucene = "zh-Hans.lucene",
1385
+ /**
1386
+ * Chinese Traditional
1387
+ */
1388
+ ZhHantMicrosoft = "zh-Hant.microsoft",
1389
+ /**
1390
+ * Chinese Traditional
1391
+ */
1392
+ ZhHantLucene = "zh-Hant.lucene",
1393
+ /**
1394
+ * Croatian
1395
+ */
1396
+ HrMicrosoft = "hr.microsoft",
1397
+ /**
1398
+ * Czech
1399
+ */
1400
+ CsMicrosoft = "cs.microsoft",
1401
+ /**
1402
+ * Czech
1403
+ */
1404
+ CsLucene = "cs.lucene",
1405
+ /**
1406
+ * Danish
1407
+ */
1408
+ DaMicrosoft = "da.microsoft",
1409
+ /**
1410
+ * Danish
1411
+ */
1412
+ DaLucene = "da.lucene",
1413
+ /**
1414
+ * Dutch
1415
+ */
1416
+ NlMicrosoft = "nl.microsoft",
1417
+ /**
1418
+ * Dutch
1419
+ */
1420
+ NlLucene = "nl.lucene",
1421
+ /**
1422
+ * English
1423
+ */
1424
+ EnMicrosoft = "en.microsoft",
1425
+ /**
1426
+ * English
1427
+ */
1428
+ EnLucene = "en.lucene",
1429
+ /**
1430
+ * Estonian
1431
+ */
1432
+ EtMicrosoft = "et.microsoft",
1433
+ /**
1434
+ * Finnish
1435
+ */
1436
+ FiMicrosoft = "fi.microsoft",
1437
+ /**
1438
+ * Finnish
1439
+ */
1440
+ FiLucene = "fi.lucene",
1441
+ /**
1442
+ * French
1443
+ */
1444
+ FrMicrosoft = "fr.microsoft",
1445
+ /**
1446
+ * French
1447
+ */
1448
+ FrLucene = "fr.lucene",
1449
+ /**
1450
+ * Galician
1451
+ */
1452
+ GlLucene = "gl.lucene",
1453
+ /**
1454
+ * German
1455
+ */
1456
+ DeMicrosoft = "de.microsoft",
1457
+ /**
1458
+ * German
1459
+ */
1460
+ DeLucene = "de.lucene",
1461
+ /**
1462
+ * Greek
1463
+ */
1464
+ ElMicrosoft = "el.microsoft",
1465
+ /**
1466
+ * Greek
1467
+ */
1468
+ ElLucene = "el.lucene",
1469
+ /**
1470
+ * Gujarati
1471
+ */
1472
+ GuMicrosoft = "gu.microsoft",
1473
+ /**
1474
+ * Hebrew
1475
+ */
1476
+ HeMicrosoft = "he.microsoft",
1477
+ /**
1478
+ * Hindi
1479
+ */
1480
+ HiMicrosoft = "hi.microsoft",
1481
+ /**
1482
+ * Hindi
1483
+ */
1484
+ HiLucene = "hi.lucene",
1485
+ /**
1486
+ * Hungarian
1487
+ */
1488
+ HuMicrosoft = "hu.microsoft",
1489
+ /**
1490
+ * Hungarian
1491
+ */
1492
+ HuLucene = "hu.lucene",
1493
+ /**
1494
+ * Icelandic
1495
+ */
1496
+ IsMicrosoft = "is.microsoft",
1497
+ /**
1498
+ * Indonesian (Bahasa)
1499
+ */
1500
+ IdMicrosoft = "id.microsoft",
1501
+ /**
1502
+ * Indonesian (Bahasa)
1503
+ */
1504
+ IdLucene = "id.lucene",
1505
+ /**
1506
+ * Irish
1507
+ */
1508
+ GaLucene = "ga.lucene",
1509
+ /**
1510
+ * Italian
1511
+ */
1512
+ ItMicrosoft = "it.microsoft",
1513
+ /**
1514
+ * Italian
1515
+ */
1516
+ ItLucene = "it.lucene",
1517
+ /**
1518
+ * Japanese
1519
+ */
1520
+ JaMicrosoft = "ja.microsoft",
1521
+ /**
1522
+ * Japanese
1523
+ */
1524
+ JaLucene = "ja.lucene",
1525
+ /**
1526
+ * Kannada
1527
+ */
1528
+ KnMicrosoft = "kn.microsoft",
1529
+ /**
1530
+ * Korean
1531
+ */
1532
+ KoMicrosoft = "ko.microsoft",
1533
+ /**
1534
+ * Korean
1535
+ */
1536
+ KoLucene = "ko.lucene",
1537
+ /**
1538
+ * Latvian
1539
+ */
1540
+ LvMicrosoft = "lv.microsoft",
1541
+ /**
1542
+ * Latvian
1543
+ */
1544
+ LvLucene = "lv.lucene",
1545
+ /**
1546
+ * Lithuanian
1547
+ */
1548
+ LtMicrosoft = "lt.microsoft",
1549
+ /**
1550
+ * Malayalam
1551
+ */
1552
+ MlMicrosoft = "ml.microsoft",
1553
+ /**
1554
+ * Malay (Latin)
1555
+ */
1556
+ MsMicrosoft = "ms.microsoft",
1557
+ /**
1558
+ * Marathi
1559
+ */
1560
+ MrMicrosoft = "mr.microsoft",
1561
+ /**
1562
+ * Norwegian
1563
+ */
1564
+ NbMicrosoft = "nb.microsoft",
1565
+ /**
1566
+ * Norwegian
1567
+ */
1568
+ NoLucene = "no.lucene",
1569
+ /**
1570
+ * Persian
1571
+ */
1572
+ FaLucene = "fa.lucene",
1573
+ /**
1574
+ * Polish
1575
+ */
1576
+ PlMicrosoft = "pl.microsoft",
1577
+ /**
1578
+ * Polish
1579
+ */
1580
+ PlLucene = "pl.lucene",
1581
+ /**
1582
+ * Portuguese (Brazil)
1583
+ */
1584
+ PtBRMicrosoft = "pt-BR.microsoft",
1585
+ /**
1586
+ * Portuguese (Brazil)
1587
+ */
1588
+ PtBRLucene = "pt-BR.lucene",
1589
+ /**
1590
+ * Portuguese (Portugal)
1591
+ */
1592
+ PtPTMicrosoft = "pt-PT.microsoft",
1593
+ /**
1594
+ * Portuguese (Portugal)
1595
+ */
1596
+ PtPTLucene = "pt-PT.lucene",
1597
+ /**
1598
+ * Punjabi
1599
+ */ PaMicrosoft = "pa.microsoft",
1600
+ /**
1601
+ * Romanian
1602
+ */
1603
+ RoMicrosoft = "ro.microsoft",
1604
+ /**
1605
+ * Romanian
1606
+ */
1607
+ RoLucene = "ro.lucene",
1608
+ /**
1609
+ * Russian
1610
+ */
1611
+ RuMicrosoft = "ru.microsoft",
1612
+ /**
1613
+ * Russian
1614
+ */
1615
+ RuLucene = "ru.lucene",
1616
+ /**
1617
+ * Serbian (Cyrillic)
1618
+ */
1619
+ SrCyrillicMicrosoft = "sr-cyrillic.microsoft",
1620
+ /**
1621
+ * Serbian (Latin)
1622
+ */
1623
+ SrLatinMicrosoft = "sr-latin.microsoft",
1624
+ /**
1625
+ * Slovak
1626
+ */
1627
+ SkMicrosoft = "sk.microsoft",
1628
+ /**
1629
+ * Slovenian
1630
+ */
1631
+ SlMicrosoft = "sl.microsoft",
1632
+ /**
1633
+ * Spanish
1634
+ */
1635
+ EsMicrosoft = "es.microsoft",
1636
+ /**
1637
+ * Spanish
1638
+ */
1639
+ EsLucene = "es.lucene",
1640
+ /**
1641
+ * Swedish
1642
+ */
1643
+ SvMicrosoft = "sv.microsoft",
1644
+ /**
1645
+ * Swedish
1646
+ */
1647
+ SvLucene = "sv.lucene",
1648
+ /**
1649
+ * Tamil
1650
+ */
1651
+ TaMicrosoft = "ta.microsoft",
1652
+ /**
1653
+ * Telugu
1654
+ */
1655
+ TeMicrosoft = "te.microsoft",
1656
+ /**
1657
+ * Thai
1658
+ */
1659
+ ThMicrosoft = "th.microsoft",
1660
+ /**
1661
+ * Thai
1662
+ */
1663
+ ThLucene = "th.lucene",
1664
+ /**
1665
+ * Turkish
1666
+ */
1667
+ TrMicrosoft = "tr.microsoft",
1668
+ /**
1669
+ * Turkish
1670
+ */
1671
+ TrLucene = "tr.lucene",
1672
+ /**
1673
+ * Ukrainian
1674
+ */
1675
+ UkMicrosoft = "uk.microsoft",
1676
+ /**
1677
+ * Urdu
1678
+ */
1679
+ UrMicrosoft = "ur.microsoft",
1680
+ /**
1681
+ * Vietnamese
1682
+ */
1683
+ ViMicrosoft = "vi.microsoft",
1684
+ /**
1685
+ * See: https://lucene.apache.org/core/6_6_1/core/org/apache/lucene/analysis/standard/StandardAnalyzer.html
1686
+ */
1687
+ StandardLucene = "standard.lucene",
1688
+ /**
1689
+ * See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilter.html
1690
+ */
1691
+ StandardAsciiFoldingLucene = "standardasciifolding.lucene",
1692
+ /**
1693
+ * Treats the entire content of a field as a single token. This is useful for data like zip codes, ids, and some product names.
1694
+ */
1695
+ Keyword = "keyword",
1696
+ /**
1697
+ * Flexibly separates text into terms via a regular expression pattern.
1698
+ */
1699
+ Pattern = "pattern",
1700
+ /**
1701
+ * Divides text at non-letters and converts them to lower case.
1702
+ */
1703
+ Simple = "simple",
1704
+ /**
1705
+ * Divides text at non-letters; Applies the lowercase and stopword token filters.
1706
+ */
1707
+ Stop = "stop",
1708
+ /**
1709
+ * An analyzer that uses the whitespace tokenizer.
1710
+ */
1711
+ Whitespace = "whitespace"
1712
+ }
1713
+ /**
1714
+ * Contains the possible cases for DataChangeDetectionPolicy.
1715
+ */
1716
+ export type DataChangeDetectionPolicy = HighWaterMarkChangeDetectionPolicy | SqlIntegratedChangeTrackingPolicy;
1717
+ /**
1718
+ * Contains the possible cases for SearchIndexerDataIdentity.
1719
+ */
1720
+ export type SearchIndexerDataIdentity = SearchIndexerDataNoneIdentity | SearchIndexerDataUserAssignedIdentity;
1721
+ /**
1722
+ * Contains the possible cases for DataDeletionDetectionPolicy.
1723
+ */
1724
+ export type DataDeletionDetectionPolicy = SoftDeleteColumnDeletionDetectionPolicy;
1725
+ /**
1726
+ * Represents a datasource definition, which can be used to configure an indexer.
1727
+ */
1728
+ export interface SearchIndexerDataSourceConnection {
1729
+ /**
1730
+ * The name of the datasource.
1731
+ */
1732
+ name: string;
1733
+ /**
1734
+ * The description of the datasource.
1735
+ */
1736
+ description?: string;
1737
+ /**
1738
+ * The type of the datasource. Possible values include: 'AzureSql', 'CosmosDb', 'AzureBlob',
1739
+ * 'AzureTable', 'MySql', 'AdlsGen2'
1740
+ */
1741
+ type: SearchIndexerDataSourceType;
1742
+ /**
1743
+ * The connection string for the datasource.
1744
+ */
1745
+ connectionString?: string;
1746
+ /**
1747
+ * The data container for the datasource.
1748
+ */
1749
+ container: SearchIndexerDataContainer;
1750
+ /**
1751
+ * An explicit managed identity to use for this datasource. If not specified and the connection
1752
+ * string is a managed identity, the system-assigned managed identity is used. If not specified,
1753
+ * the value remains unchanged. If "none" is specified, the value of this property is cleared.
1754
+ */
1755
+ identity?: SearchIndexerDataIdentity;
1756
+ /**
1757
+ * The data change detection policy for the datasource.
1758
+ */
1759
+ dataChangeDetectionPolicy?: DataChangeDetectionPolicy;
1760
+ /**
1761
+ * The data deletion detection policy for the datasource.
1762
+ */
1763
+ dataDeletionDetectionPolicy?: DataDeletionDetectionPolicy;
1764
+ /**
1765
+ * The ETag of the DataSource.
1766
+ */
1767
+ etag?: string;
1768
+ /**
1769
+ * A description of an encryption key that you create in Azure Key Vault. This key is used to
1770
+ * provide an additional level of encryption-at-rest for your datasource definition when you want
1771
+ * full assurance that no one, not even Microsoft, can decrypt your data source definition in
1772
+ * Azure Cognitive Search. Once you have encrypted your data source definition, it will always
1773
+ * remain encrypted. Azure Cognitive Search will ignore attempts to set this property to null.
1774
+ * You can change this property as needed if you want to rotate your encryption key; Your
1775
+ * datasource definition will be unaffected. Encryption with customer-managed keys is not
1776
+ * available for free search services, and is only available for paid services created on or
1777
+ * after January 1, 2019.
1778
+ */
1779
+ encryptionKey?: SearchResourceEncryptionKey;
1780
+ }
1781
+ /** Contains configuration options related to vector search. */
1782
+ export interface VectorSearch {
1783
+ /** Defines combinations of configurations to use with vector search. */
1784
+ profiles?: VectorSearchProfile[];
1785
+ /** Contains configuration options specific to the algorithm used during indexing or querying. */
1786
+ algorithms?: VectorSearchAlgorithmConfiguration[];
1787
+ /** Contains configuration options on how to vectorize text vector queries. */
1788
+ vectorizers?: VectorSearchVectorizer[];
1789
+ /** Contains configuration options specific to the compression method used during indexing or querying. */
1790
+ compressions?: VectorSearchCompression[];
1791
+ }
1792
+ /** Contains configuration options specific to the algorithm used during indexing and/or querying. */
1793
+ export type VectorSearchAlgorithmConfiguration = HnswAlgorithmConfiguration | ExhaustiveKnnAlgorithmConfiguration;
1794
+ /** Contains configuration options specific to the algorithm used during indexing and/or querying. */
1795
+ export interface BaseVectorSearchAlgorithmConfiguration {
1796
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1797
+ kind: VectorSearchAlgorithmKind;
1798
+ /** The name to associate with this particular configuration. */
1799
+ name: string;
1800
+ }
1801
+ /**
1802
+ * Contains configuration options specific to the hnsw approximate nearest neighbors algorithm
1803
+ * used during indexing time.
1804
+ */
1805
+ export type HnswAlgorithmConfiguration = BaseVectorSearchAlgorithmConfiguration & {
1806
+ /**
1807
+ * Polymorphic discriminator, which specifies the different types this object can be
1808
+ */
1809
+ kind: "hnsw";
1810
+ /**
1811
+ * Contains the parameters specific to hnsw algorithm.
1812
+ *
1813
+ */
1814
+ parameters?: HnswParameters;
1815
+ };
1816
+ /**
1817
+ * Contains the parameters specific to hnsw algorithm.
1818
+ */
1819
+ export interface HnswParameters {
1820
+ /**
1821
+ * The number of bi-directional links created for every new element during construction.
1822
+ * Increasing this parameter value may improve recall and reduce retrieval times for datasets
1823
+ * with high intrinsic dimensionality at the expense of increased memory consumption and longer
1824
+ * indexing time.
1825
+ */
1826
+ m?: number;
1827
+ /**
1828
+ * The size of the dynamic list containing the nearest neighbors, which is used during index
1829
+ * time. Increasing this parameter may improve index quality, at the expense of increased
1830
+ * indexing time. At a certain point, increasing this parameter leads to diminishing returns.
1831
+ */
1832
+ efConstruction?: number;
1833
+ /**
1834
+ * The size of the dynamic list containing the nearest neighbors, which is used during search
1835
+ * time. Increasing this parameter may improve search results, at the expense of slower search.
1836
+ * Increasing this parameter leads to diminishing returns.
1837
+ */
1838
+ efSearch?: number;
1839
+ /**
1840
+ * The similarity metric to use for vector comparisons.
1841
+ */
1842
+ metric?: VectorSearchAlgorithmMetric;
1843
+ }
1844
+ /** Contains configuration options specific to the exhaustive KNN algorithm used during querying, which will perform brute-force search across the entire vector index. */
1845
+ export type ExhaustiveKnnAlgorithmConfiguration = BaseVectorSearchAlgorithmConfiguration & {
1846
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1847
+ kind: "exhaustiveKnn";
1848
+ /** Contains the parameters specific to exhaustive KNN algorithm. */
1849
+ parameters?: ExhaustiveKnnParameters;
1850
+ };
1851
+ /** Contains the parameters specific to exhaustive KNN algorithm. */
1852
+ export interface ExhaustiveKnnParameters {
1853
+ /** The similarity metric to use for vector comparisons. */
1854
+ metric?: VectorSearchAlgorithmMetric;
1855
+ }
1856
+ /** A dictionary of index projection-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type. */
1857
+ export interface SearchIndexerIndexProjectionParameters {
1858
+ /** Describes unknown properties.*/
1859
+ [property: string]: unknown;
1860
+ /** Defines behavior of the index projections in relation to the rest of the indexer. */
1861
+ projectionMode?: IndexProjectionMode;
1862
+ }
1863
+ /** Definition of additional projections to secondary search indexes. */
1864
+ export interface SearchIndexerIndexProjection {
1865
+ /** A list of projections to be performed to secondary search indexes. */
1866
+ selectors: SearchIndexerIndexProjectionSelector[];
1867
+ /** A dictionary of index projection-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type. */
1868
+ parameters?: SearchIndexerIndexProjectionParameters;
1869
+ }
1870
+ /** Contains specific details for a vectorization method to be used during query time. */
1871
+ export interface BaseVectorSearchVectorizer {
1872
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1873
+ kind: VectorSearchVectorizerKind;
1874
+ /** The name to associate with this particular vectorization method. */
1875
+ vectorizerName: string;
1876
+ }
1877
+ /** Contains the parameters specific to using an Azure Open AI service for vectorization at query time. */
1878
+ export interface AzureOpenAIVectorizer extends BaseVectorSearchVectorizer {
1879
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1880
+ kind: "azureOpenAI";
1881
+ /** Contains the parameters specific to Azure Open AI embedding vectorization. */
1882
+ parameters?: AzureOpenAIParameters;
1883
+ }
1884
+ /** Specifies a user-defined vectorizer for generating the vector embedding of a query string. Integration of an external vectorizer is achieved using the custom Web API interface of a skillset. */
1885
+ export interface WebApiVectorizer extends BaseVectorSearchVectorizer {
1886
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1887
+ kind: "customWebApi";
1888
+ /** Specifies the properties of the user-defined vectorizer. */
1889
+ parameters?: WebApiParameters;
1890
+ }
1891
+ /** Specifies the properties for connecting to a user-defined vectorizer. */
1892
+ export interface WebApiParameters {
1893
+ /** The URI of the Web API providing the vectorizer. */
1894
+ uri?: string;
1895
+ /** The headers required to make the HTTP request. */
1896
+ httpHeaders?: {
1897
+ [propertyName: string]: string;
1898
+ };
1899
+ /** The method for the HTTP request. */
1900
+ httpMethod?: string;
1901
+ /** The desired timeout for the request. Default is 30 seconds. */
1902
+ timeout?: string;
1903
+ /** Applies to custom endpoints that connect to external code in an Azure function or some other application that provides the transformations. This value should be the application ID created for the function or app when it was registered with Azure Active Directory. When specified, the vectorization connects to the function or app using a managed ID (either system or user-assigned) of the search service and the access token of the function or app, using this value as the resource id for creating the scope of the access token. */
1904
+ authResourceId?: string;
1905
+ /** The user-assigned managed identity used for outbound connections. If an authResourceId is provided and it's not specified, the system-assigned managed identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set to "none", the value of this property is cleared. */
1906
+ authIdentity?: SearchIndexerDataIdentity;
1907
+ }
1908
+ /** Contains configuration options on how to vectorize text vector queries. */
1909
+ export type VectorSearchVectorizer = AzureOpenAIVectorizer | WebApiVectorizer;
1910
+ /** Contains the parameters specific to using an Azure Open AI service for vectorization at query time. */
1911
+ export interface AzureOpenAIParameters {
1912
+ /** The resource uri for your Azure Open AI resource. */
1913
+ resourceUrl?: string;
1914
+ /** ID of your Azure Open AI model deployment on the designated resource. */
1915
+ deploymentId?: string;
1916
+ /** API key for the designated Azure Open AI resource. */
1917
+ apiKey?: string;
1918
+ /** The user-assigned managed identity used for outbound connections. */
1919
+ authIdentity?: SearchIndexerDataIdentity;
1920
+ /** The name of the embedding model that is deployed at the provided deploymentId path. */
1921
+ modelName?: AzureOpenAIModelName;
1922
+ }
1923
+ /** Allows you to generate a vector embedding for a given text input using the Azure OpenAI resource. */
1924
+ export interface AzureOpenAIEmbeddingSkill extends BaseSearchIndexerSkill, AzureOpenAIParameters {
1925
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1926
+ odatatype: "#Microsoft.Skills.Text.AzureOpenAIEmbeddingSkill";
1927
+ /** The number of dimensions the resulting output embeddings should have. Only supported in text-embedding-3 and later models. */
1928
+ dimensions?: number;
1929
+ }
1930
+ /** A dictionary of knowledge store-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type. */
1931
+ export interface SearchIndexerKnowledgeStoreParameters {
1932
+ /** Describes unknown properties. The value of an unknown property can be of "any" type. */
1933
+ [property: string]: unknown;
1934
+ /** Whether or not projections should synthesize a generated key name if one isn't already present. */
1935
+ synthesizeGeneratedKeyName?: boolean;
1936
+ }
1937
+ /** A dictionary of indexer-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type. */
1938
+ export interface IndexingParametersConfiguration {
1939
+ /** Describes unknown properties. The value of an unknown property can be of "any" type. */
1940
+ [property: string]: any;
1941
+ /** Represents the parsing mode for indexing from an Azure blob data source. */
1942
+ parsingMode?: BlobIndexerParsingMode;
1943
+ /** Comma-delimited list of filename extensions to ignore when processing from Azure blob storage. For example, you could exclude ".png, .mp4" to skip over those files during indexing. */
1944
+ excludedFileNameExtensions?: string;
1945
+ /** Comma-delimited list of filename extensions to select when processing from Azure blob storage. For example, you could focus indexing on specific application files ".docx, .pptx, .msg" to specifically include those file types. */
1946
+ indexedFileNameExtensions?: string;
1947
+ /** For Azure blobs, set to false if you want to continue indexing when an unsupported content type is encountered, and you don't know all the content types (file extensions) in advance. */
1948
+ failOnUnsupportedContentType?: boolean;
1949
+ /** For Azure blobs, set to false if you want to continue indexing if a document fails indexing. */
1950
+ failOnUnprocessableDocument?: boolean;
1951
+ /** For Azure blobs, set this property to true to still index storage metadata for blob content that is too large to process. Oversized blobs are treated as errors by default. For limits on blob size, see https://docs.microsoft.com/azure/search/search-limits-quotas-capacity. */
1952
+ indexStorageMetadataOnlyForOversizedDocuments?: boolean;
1953
+ /** For CSV blobs, specifies a comma-delimited list of column headers, useful for mapping source fields to destination fields in an index. */
1954
+ delimitedTextHeaders?: string;
1955
+ /** For CSV blobs, specifies the end-of-line single-character delimiter for CSV files where each line starts a new document (for example, "|"). */
1956
+ delimitedTextDelimiter?: string;
1957
+ /** For CSV blobs, indicates that the first (non-blank) line of each blob contains headers. */
1958
+ firstLineContainsHeaders?: boolean;
1959
+ /** For JSON arrays, given a structured or semi-structured document, you can specify a path to the array using this property. */
1960
+ documentRoot?: string;
1961
+ /** Specifies the data to extract from Azure blob storage and tells the indexer which data to extract from image content when "imageAction" is set to a value other than "none". This applies to embedded image content in a .PDF or other application, or image files such as .jpg and .png, in Azure blobs. */
1962
+ dataToExtract?: BlobIndexerDataToExtract;
1963
+ /** Determines how to process embedded images and image files in Azure blob storage. Setting the "imageAction" configuration to any value other than "none" requires that a skillset also be attached to that indexer. */
1964
+ imageAction?: BlobIndexerImageAction;
1965
+ /** If true, will create a path //document//file_data that is an object representing the original file data downloaded from your blob data source. This allows you to pass the original file data to a custom skill for processing within the enrichment pipeline, or to the Document Extraction skill. */
1966
+ allowSkillsetToReadFileData?: boolean;
1967
+ /** Determines algorithm for text extraction from PDF files in Azure blob storage. */
1968
+ pdfTextRotationAlgorithm?: BlobIndexerPDFTextRotationAlgorithm;
1969
+ /** Specifies the environment in which the indexer should execute. */
1970
+ executionEnvironment?: IndexerExecutionEnvironment;
1971
+ /** Increases the timeout beyond the 5-minute default for Azure SQL database data sources, specified in the format "hh:mm:ss". */
1972
+ queryTimeout?: string;
1973
+ }
1974
+ /** Represents parameters for indexer execution. */
1975
+ export interface IndexingParameters {
1976
+ /** The number of items that are read from the data source and indexed as a single batch in order to improve performance. The default depends on the data source type. */
1977
+ batchSize?: number;
1978
+ /** The maximum number of items that can fail indexing for indexer execution to still be considered successful. -1 means no limit. Default is 0. */
1979
+ maxFailedItems?: number;
1980
+ /** The maximum number of items in a single batch that can fail indexing for the batch to still be considered successful. -1 means no limit. Default is 0. */
1981
+ maxFailedItemsPerBatch?: number;
1982
+ /** A dictionary of indexer-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type. */
1983
+ configuration?: IndexingParametersConfiguration;
1984
+ }
1985
+ /** A skill looks for text from a custom, user-defined list of words and phrases. */
1986
+ export interface CustomEntityLookupSkill extends BaseSearchIndexerSkill {
1987
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1988
+ odatatype: "#Microsoft.Skills.Text.CustomEntityLookupSkill";
1989
+ /** A value indicating which language code to use. Default is en. */
1990
+ defaultLanguageCode?: CustomEntityLookupSkillLanguage;
1991
+ /** Path to a JSON or CSV file containing all the target text to match against. This entity definition is read at the beginning of an indexer run. Any updates to this file during an indexer run will not take effect until subsequent runs. This config must be accessible over HTTPS. */
1992
+ entitiesDefinitionUri?: string;
1993
+ /** The inline CustomEntity definition. */
1994
+ inlineEntitiesDefinition?: CustomEntity[];
1995
+ /** A global flag for CaseSensitive. If CaseSensitive is not set in CustomEntity, this value will be the default value. */
1996
+ globalDefaultCaseSensitive?: boolean;
1997
+ /** A global flag for AccentSensitive. If AccentSensitive is not set in CustomEntity, this value will be the default value. */
1998
+ globalDefaultAccentSensitive?: boolean;
1999
+ /** A global flag for FuzzyEditDistance. If FuzzyEditDistance is not set in CustomEntity, this value will be the default value. */
2000
+ globalDefaultFuzzyEditDistance?: number;
2001
+ }
2002
+ /**
2003
+ * Text analytics entity recognition.
2004
+ *
2005
+ * @deprecated This skill has been deprecated.
2006
+ */
2007
+ export interface EntityRecognitionSkill extends BaseSearchIndexerSkill {
2008
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2009
+ odatatype: "#Microsoft.Skills.Text.EntityRecognitionSkill";
2010
+ /** A list of entity categories that should be extracted. */
2011
+ categories?: EntityCategory[];
2012
+ /** A value indicating which language code to use. Default is en. */
2013
+ defaultLanguageCode?: EntityRecognitionSkillLanguage;
2014
+ /** Determines whether or not to include entities which are well known but don't conform to a pre-defined type. If this configuration is not set (default), set to null or set to false, entities which don't conform to one of the pre-defined types will not be surfaced. */
2015
+ includeTypelessEntities?: boolean;
2016
+ /** A value between 0 and 1 that be used to only include entities whose confidence score is greater than the value specified. If not set (default), or if explicitly set to null, all entities will be included. */
2017
+ minimumPrecision?: number;
2018
+ }
2019
+ /** A skill that analyzes image files. It extracts a rich set of visual features based on the image content. */
2020
+ export interface ImageAnalysisSkill extends BaseSearchIndexerSkill {
2021
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2022
+ odatatype: "#Microsoft.Skills.Vision.ImageAnalysisSkill";
2023
+ /** A value indicating which language code to use. Default is en. */
2024
+ defaultLanguageCode?: ImageAnalysisSkillLanguage;
2025
+ /** A list of visual features. */
2026
+ visualFeatures?: VisualFeature[];
2027
+ /** A string indicating which domain-specific details to return. */
2028
+ details?: ImageDetail[];
2029
+ }
2030
+ /** A skill that uses text analytics for key phrase extraction. */
2031
+ export interface KeyPhraseExtractionSkill extends BaseSearchIndexerSkill {
2032
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2033
+ odatatype: "#Microsoft.Skills.Text.KeyPhraseExtractionSkill";
2034
+ /** A value indicating which language code to use. Default is en. */
2035
+ defaultLanguageCode?: KeyPhraseExtractionSkillLanguage;
2036
+ /** A number indicating how many key phrases to return. If absent, all identified key phrases will be returned. */
2037
+ maxKeyPhraseCount?: number;
2038
+ /** The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary. */
2039
+ modelVersion?: string;
2040
+ }
2041
+ /** A skill that extracts text from image files. */
2042
+ export interface OcrSkill extends BaseSearchIndexerSkill {
2043
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2044
+ odatatype: "#Microsoft.Skills.Vision.OcrSkill";
2045
+ /** A value indicating which language code to use. Default is en. */
2046
+ defaultLanguageCode?: OcrSkillLanguage;
2047
+ /** A value indicating to turn orientation detection on or not. Default is false. */
2048
+ shouldDetectOrientation?: boolean;
2049
+ }
2050
+ /** Using the Text Analytics API, extracts personal information from an input text and gives you the option of masking it. */
2051
+ export interface PIIDetectionSkill extends BaseSearchIndexerSkill {
2052
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2053
+ odatatype: "#Microsoft.Skills.Text.PIIDetectionSkill";
2054
+ /** A value indicating which language code to use. Default is en. */
2055
+ defaultLanguageCode?: string;
2056
+ /** A value between 0 and 1 that be used to only include entities whose confidence score is greater than the value specified. If not set (default), or if explicitly set to null, all entities will be included. */
2057
+ minimumPrecision?: number;
2058
+ /** A parameter that provides various ways to mask the personal information detected in the input text. Default is 'none'. */
2059
+ maskingMode?: PIIDetectionSkillMaskingMode;
2060
+ /** The character used to mask the text if the maskingMode parameter is set to replace. Default is '*'. */
2061
+ maskingCharacter?: string;
2062
+ /** The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary. */
2063
+ modelVersion?: string;
2064
+ /** A list of PII entity categories that should be extracted and masked. */
2065
+ categories?: string[];
2066
+ /** If specified, will set the PII domain to include only a subset of the entity categories. Possible values include: 'phi', 'none'. Default is 'none'. */
2067
+ domain?: string;
2068
+ }
2069
+ /**
2070
+ * Text analytics positive-negative sentiment analysis, scored as a floating point value in a range of zero to 1.
2071
+ *
2072
+ * @deprecated This skill has been deprecated.
2073
+ */
2074
+ export interface SentimentSkill extends BaseSearchIndexerSkill {
2075
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2076
+ odatatype: "#Microsoft.Skills.Text.SentimentSkill";
2077
+ /** A value indicating which language code to use. Default is en. */
2078
+ defaultLanguageCode?: SentimentSkillLanguage;
2079
+ }
2080
+ /** A skill to split a string into chunks of text. */
2081
+ export interface SplitSkill extends BaseSearchIndexerSkill {
2082
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2083
+ odatatype: "#Microsoft.Skills.Text.SplitSkill";
2084
+ /** A value indicating which language code to use. Default is en. */
2085
+ defaultLanguageCode?: SplitSkillLanguage;
2086
+ /** A value indicating which split mode to perform. */
2087
+ textSplitMode?: TextSplitMode;
2088
+ /** The desired maximum page length. Default is 10000. */
2089
+ maxPageLength?: number;
2090
+ }
2091
+ /** A skill to translate text from one language to another. */
2092
+ export interface TextTranslationSkill extends BaseSearchIndexerSkill {
2093
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2094
+ odatatype: "#Microsoft.Skills.Text.TranslationSkill";
2095
+ /** The language code to translate documents into for documents that don't specify the to language explicitly. */
2096
+ defaultToLanguageCode: TextTranslationSkillLanguage;
2097
+ /** The language code to translate documents from for documents that don't specify the from language explicitly. */
2098
+ defaultFromLanguageCode?: TextTranslationSkillLanguage;
2099
+ /** The language code to translate documents from when neither the fromLanguageCode input nor the defaultFromLanguageCode parameter are provided, and the automatic language detection is unsuccessful. Default is en. */
2100
+ suggestedFrom?: TextTranslationSkillLanguage;
2101
+ }
2102
+ /** A skill that analyzes image files. It extracts a rich set of visual features based on the image content. */
2103
+ export interface ImageAnalysisSkill extends BaseSearchIndexerSkill {
2104
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2105
+ odatatype: "#Microsoft.Skills.Vision.ImageAnalysisSkill";
2106
+ /** A value indicating which language code to use. Default is en. */
2107
+ defaultLanguageCode?: ImageAnalysisSkillLanguage;
2108
+ /** A list of visual features. */
2109
+ visualFeatures?: VisualFeature[];
2110
+ /** A string indicating which domain-specific details to return. */
2111
+ details?: ImageDetail[];
2112
+ }
2113
+ /** Contains configuration options specific to the compression method used during indexing or querying. */
2114
+ export type VectorSearchCompression = BinaryQuantizationCompression | ScalarQuantizationCompression;
2115
+ export type AnalyzerNames = `${KnownLexicalAnalyzerName}`;
2116
+ export type BlobIndexerDataToExtract = `${KnownBlobIndexerDataToExtract}`;
2117
+ export type BlobIndexerImageAction = `${KnownBlobIndexerImageAction}`;
2118
+ export type BlobIndexerParsingMode = `${KnownBlobIndexerParsingMode}`;
2119
+ export type BlobIndexerPDFTextRotationAlgorithm = `${KnownBlobIndexerPDFTextRotationAlgorithm}`;
2120
+ export type CharFilterNames = `${KnownCharFilterName}`;
2121
+ export type CustomEntityLookupSkillLanguage = `${KnownCustomEntityLookupSkillLanguage}`;
2122
+ export type EntityCategory = `${KnownEntityCategory}`;
2123
+ export type EntityRecognitionSkillLanguage = `${KnownEntityRecognitionSkillLanguage}`;
2124
+ export type ImageAnalysisSkillLanguage = `${KnownImageAnalysisSkillLanguage}`;
2125
+ export type ImageDetail = `${KnownImageDetail}`;
2126
+ export type IndexerExecutionEnvironment = `${KnownIndexerExecutionEnvironment}`;
2127
+ export type KeyPhraseExtractionSkillLanguage = `${KnownKeyPhraseExtractionSkillLanguage}`;
2128
+ export type OcrSkillLanguage = `${KnownOcrSkillLanguage}`;
2129
+ export type PIIDetectionSkillMaskingMode = `${KnownPIIDetectionSkillMaskingMode}`;
2130
+ export type RegexFlags = `${KnownRegexFlags}`;
2131
+ /**
2132
+ * Defines values for SearchFieldDataType.
2133
+ *
2134
+ * ### Known values supported by the service:
2135
+ *
2136
+ * **Edm.String**: Indicates that a field contains a string.
2137
+ *
2138
+ * **Edm.Int32**: Indicates that a field contains a 32-bit signed integer.
2139
+ *
2140
+ * **Edm.Int64**: Indicates that a field contains a 64-bit signed integer.
2141
+ *
2142
+ * **Edm.Double**: Indicates that a field contains an IEEE double-precision floating point number.
2143
+ *
2144
+ * **Edm.Boolean**: Indicates that a field contains a Boolean value (true or false).
2145
+ *
2146
+ * **Edm.DateTimeOffset**: Indicates that a field contains a date/time value, including timezone
2147
+ * information.
2148
+ *
2149
+ * **Edm.GeographyPoint**: Indicates that a field contains a geo-location in terms of longitude and
2150
+ * latitude.
2151
+ *
2152
+ * **Edm.ComplexType**: Indicates that a field contains one or more complex objects that in turn
2153
+ * have sub-fields of other types.
2154
+ *
2155
+ * **Edm.Single**: Indicates that a field contains a single-precision floating point number. This is
2156
+ * only valid when used as part of a collection type, i.e. Collection(Edm.Single).
2157
+ *
2158
+ * **Edm.Half**: Indicates that a field contains a half-precision floating point number. This is
2159
+ * only valid when used as part of a collection type, i.e. Collection(Edm.Half).
2160
+ *
2161
+ * **Edm.Int16**: Indicates that a field contains a 16-bit signed integer. This is only valid when
2162
+ * used as part of a collection type, i.e. Collection(Edm.Int16).
2163
+ *
2164
+ * **Edm.SByte**: Indicates that a field contains a 8-bit signed integer. This is only valid when
2165
+ * used as part of a collection type, i.e. Collection(Edm.SByte).
2166
+ *
2167
+ * **Edm.Byte**: Indicates that a field contains a 8-bit unsigned integer. This is only valid when
2168
+ * used as part of a collection type, i.e. Collection(Edm.Byte).
2169
+ */
2170
+ export type SearchFieldDataType = Exclude<`${KnownSearchFieldDataType}` | `Collection(${KnownSearchFieldDataType})`, "Edm.ComplexType" | "Edm.Byte" | "Edm.Half" | "Edm.Int16" | "Edm.SByte" | "Edm.Single">;
2171
+ export type SearchIndexerDataSourceType = `${KnownSearchIndexerDataSourceType}`;
2172
+ export type SentimentSkillLanguage = `${KnownSentimentSkillLanguage}`;
2173
+ export type SplitSkillLanguage = `${KnownSplitSkillLanguage}`;
2174
+ export type TextSplitMode = `${KnownTextSplitMode}`;
2175
+ export type TextTranslationSkillLanguage = `${KnownTextTranslationSkillLanguage}`;
2176
+ export type TokenFilterNames = `${KnownTokenFilterName}`;
2177
+ export type TokenizerNames = `${KnownLexicalTokenizerName}`;
2178
+ export type VectorSearchAlgorithmKind = `${KnownVectorSearchAlgorithmKind}`;
2179
+ export type VectorSearchAlgorithmMetric = `${KnownVectorSearchAlgorithmMetric}`;
2180
+ export type VisualFeature = `${KnownVisualFeature}`;
2181
+ //# sourceMappingURL=serviceModels.d.ts.map