@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.
- package/LICENSE +3 -3
- package/README.md +208 -232
- package/dist/browser/base64-browser.d.mts.map +1 -0
- package/dist/browser/base64-browser.mjs.map +1 -0
- package/dist/browser/base64.d.ts +11 -0
- package/{dist-esm/src/base64.browser.js → dist/browser/base64.js} +1 -1
- package/dist/browser/errorModels.d.ts +50 -0
- package/dist/browser/errorModels.d.ts.map +1 -0
- package/dist/browser/errorModels.js.map +1 -0
- package/dist/browser/generated/data/index.d.ts +4 -0
- package/dist/browser/generated/data/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/data/index.js +3 -3
- package/dist/browser/generated/data/index.js.map +1 -0
- package/dist/browser/generated/data/models/index.d.ts +783 -0
- package/dist/browser/generated/data/models/index.d.ts.map +1 -0
- package/dist/browser/generated/data/models/index.js +80 -0
- package/dist/browser/generated/data/models/index.js.map +1 -0
- package/dist/browser/generated/data/models/mappers.d.ts +34 -0
- package/dist/browser/generated/data/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/data/models/mappers.js +18 -365
- package/dist/browser/generated/data/models/mappers.js.map +1 -0
- package/dist/browser/generated/data/models/parameters.d.ts +58 -0
- package/dist/browser/generated/data/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/data/models/parameters.js +1 -43
- package/dist/browser/generated/data/models/parameters.js.map +1 -0
- package/dist/browser/generated/data/operations/documents.d.ts +70 -0
- package/dist/browser/generated/data/operations/documents.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/data/operations/documents.js +9 -6
- package/dist/browser/generated/data/operations/documents.js.map +1 -0
- package/dist/browser/generated/data/operations/index.d.ts +2 -0
- package/dist/browser/generated/data/operations/index.d.ts.map +1 -0
- package/{dist-esm/src/generated/data/operationsInterfaces → dist/browser/generated/data/operations}/index.js +1 -1
- package/dist/browser/generated/data/operations/index.js.map +1 -0
- package/dist/browser/generated/data/operationsInterfaces/documents.d.ts +62 -0
- package/dist/browser/generated/data/operationsInterfaces/documents.d.ts.map +1 -0
- package/dist/browser/generated/data/operationsInterfaces/documents.js.map +1 -0
- package/dist/browser/generated/data/operationsInterfaces/index.d.ts +2 -0
- package/dist/browser/generated/data/operationsInterfaces/index.d.ts.map +1 -0
- package/{dist-esm/src/generated/data/operations → dist/browser/generated/data/operationsInterfaces}/index.js +1 -1
- package/dist/browser/generated/data/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/generated/data/searchClient.d.ts +21 -0
- package/dist/browser/generated/data/searchClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/data/searchClient.js +15 -5
- package/dist/browser/generated/data/searchClient.js.map +1 -0
- package/dist/browser/generated/service/index.d.ts +4 -0
- package/dist/browser/generated/service/index.d.ts.map +1 -0
- package/dist/browser/generated/service/index.js +11 -0
- package/dist/browser/generated/service/index.js.map +1 -0
- package/dist/browser/generated/service/models/index.d.ts +4428 -0
- package/dist/browser/generated/service/models/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/service/models/index.js +44 -94
- package/dist/browser/generated/service/models/index.js.map +1 -0
- package/dist/browser/generated/service/models/mappers.d.ts +272 -0
- package/dist/browser/generated/service/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/service/models/mappers.js +794 -906
- package/dist/browser/generated/service/models/mappers.js.map +1 -0
- package/dist/browser/generated/service/models/parameters.d.ts +22 -0
- package/dist/browser/generated/service/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/service/models/parameters.js +1 -51
- package/dist/browser/generated/service/models/parameters.js.map +1 -0
- package/dist/browser/generated/service/operations/aliases.d.ts +2 -0
- package/dist/browser/generated/service/operations/aliases.d.ts.map +1 -0
- package/dist/browser/generated/service/operations/aliases.js +201 -0
- package/dist/browser/generated/service/operations/aliases.js.map +1 -0
- package/dist/browser/generated/service/operations/dataSources.d.ts +43 -0
- package/dist/browser/generated/service/operations/dataSources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/service/operations/dataSources.js +4 -6
- package/dist/browser/generated/service/operations/dataSources.js.map +1 -0
- package/dist/browser/generated/service/operations/index.d.ts +6 -0
- package/dist/browser/generated/service/operations/index.d.ts.map +1 -0
- package/dist/browser/generated/service/operations/index.js +13 -0
- package/dist/browser/generated/service/operations/index.js.map +1 -0
- package/dist/browser/generated/service/operations/indexers.d.ts +61 -0
- package/dist/browser/generated/service/operations/indexers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/service/operations/indexers.js +4 -31
- package/dist/browser/generated/service/operations/indexers.js.map +1 -0
- package/dist/browser/generated/service/operations/indexes.d.ts +58 -0
- package/dist/browser/generated/service/operations/indexes.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/service/operations/indexes.js +3 -2
- package/dist/browser/generated/service/operations/indexes.js.map +1 -0
- package/dist/browser/generated/service/operations/skillsets.d.ts +43 -0
- package/dist/browser/generated/service/operations/skillsets.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/service/operations/skillsets.js +4 -32
- package/dist/browser/generated/service/operations/skillsets.js.map +1 -0
- package/dist/browser/generated/service/operations/synonymMaps.d.ts +43 -0
- package/dist/browser/generated/service/operations/synonymMaps.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/service/operations/synonymMaps.js +3 -2
- package/dist/browser/generated/service/operations/synonymMaps.js.map +1 -0
- package/dist/browser/generated/service/operationsInterfaces/aliases.d.ts +2 -0
- package/dist/browser/generated/service/operationsInterfaces/aliases.d.ts.map +1 -0
- package/dist/browser/generated/service/operationsInterfaces/aliases.js +68 -0
- package/dist/browser/generated/service/operationsInterfaces/aliases.js.map +1 -0
- package/dist/browser/generated/service/operationsInterfaces/dataSources.d.ts +35 -0
- package/dist/browser/generated/service/operationsInterfaces/dataSources.d.ts.map +1 -0
- package/dist/browser/generated/service/operationsInterfaces/dataSources.js.map +1 -0
- package/dist/browser/generated/service/operationsInterfaces/index.d.ts +6 -0
- package/dist/browser/generated/service/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/generated/service/operationsInterfaces/index.js +13 -0
- package/dist/browser/generated/service/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/generated/service/operationsInterfaces/indexers.d.ts +53 -0
- package/dist/browser/generated/service/operationsInterfaces/indexers.d.ts.map +1 -0
- package/dist/browser/generated/service/operationsInterfaces/indexers.js.map +1 -0
- package/dist/browser/generated/service/operationsInterfaces/indexes.d.ts +50 -0
- package/dist/browser/generated/service/operationsInterfaces/indexes.d.ts.map +1 -0
- package/dist/browser/generated/service/operationsInterfaces/indexes.js.map +1 -0
- package/dist/browser/generated/service/operationsInterfaces/skillsets.d.ts +35 -0
- package/dist/browser/generated/service/operationsInterfaces/skillsets.d.ts.map +1 -0
- package/dist/browser/generated/service/operationsInterfaces/skillsets.js.map +1 -0
- package/dist/browser/generated/service/operationsInterfaces/synonymMaps.d.ts +35 -0
- package/dist/browser/generated/service/operationsInterfaces/synonymMaps.d.ts.map +1 -0
- package/dist/browser/generated/service/operationsInterfaces/synonymMaps.js.map +1 -0
- package/dist/browser/generated/service/searchServiceClient.d.ts +28 -0
- package/dist/browser/generated/service/searchServiceClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/service/searchServiceClient.js +18 -8
- package/dist/browser/generated/service/searchServiceClient.js.map +1 -0
- package/dist/browser/geographyPoint.d.ts +27 -0
- package/dist/browser/geographyPoint.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/geographyPoint.js +8 -0
- package/dist/browser/geographyPoint.js.map +1 -0
- package/dist/browser/index.d.ts +15 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +16 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/indexDocumentsBatch.d.ts +41 -0
- package/dist/browser/indexDocumentsBatch.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/indexDocumentsBatch.js +20 -4
- package/dist/browser/indexDocumentsBatch.js.map +1 -0
- package/dist/browser/indexModels.d.ts +722 -0
- package/dist/browser/indexModels.d.ts.map +1 -0
- package/dist/browser/indexModels.js.map +1 -0
- package/dist/browser/logger.d.ts +5 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/odata.d.ts +14 -0
- package/dist/browser/odata.d.ts.map +1 -0
- package/dist/browser/odataMetadataPolicy.d.ts +9 -0
- package/dist/browser/odataMetadataPolicy.d.ts.map +1 -0
- package/dist/browser/odataMetadataPolicy.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/searchApiKeyCredentialPolicy.d.ts +8 -0
- package/dist/browser/searchApiKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/browser/searchApiKeyCredentialPolicy.js.map +1 -0
- package/dist/browser/searchAudience.d.ts +18 -0
- package/dist/browser/searchAudience.d.ts.map +1 -0
- package/dist/browser/searchClient.d.ts +266 -0
- package/dist/browser/searchClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/searchClient.js +138 -138
- package/dist/browser/searchClient.js.map +1 -0
- package/dist/browser/searchIndexClient.d.ts +177 -0
- package/dist/browser/searchIndexClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/searchIndexClient.js +118 -268
- package/dist/browser/searchIndexClient.js.map +1 -0
- package/dist/browser/searchIndexerClient.d.ts +187 -0
- package/dist/browser/searchIndexerClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/searchIndexerClient.js +79 -93
- package/dist/browser/searchIndexerClient.js.map +1 -0
- package/dist/browser/searchIndexingBufferedSender.d.ts +193 -0
- package/dist/browser/searchIndexingBufferedSender.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/searchIndexingBufferedSender.js +54 -15
- package/dist/browser/searchIndexingBufferedSender.js.map +1 -0
- package/dist/browser/serialization.d.ts +3 -0
- package/dist/browser/serialization.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serialization.js +2 -2
- package/dist/browser/serialization.js.map +1 -0
- package/dist/browser/serviceModels.d.ts +2181 -0
- package/dist/browser/serviceModels.d.ts.map +1 -0
- package/dist/browser/serviceModels.js.map +1 -0
- package/dist/browser/serviceUtils.d.ts +35 -0
- package/dist/browser/serviceUtils.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serviceUtils.js +139 -139
- package/dist/browser/serviceUtils.js.map +1 -0
- package/dist/browser/synonymMapHelper-browser.d.mts.map +1 -0
- package/dist/browser/synonymMapHelper-browser.mjs.map +1 -0
- package/dist/browser/synonymMapHelper.d.ts +11 -0
- package/{dist-esm/src/synonymMapHelper.browser.js → dist/browser/synonymMapHelper.js} +1 -1
- package/dist/browser/tracing.d.ts +7 -0
- package/dist/browser/tracing.d.ts.map +1 -0
- package/dist/browser/walk.d.ts +2 -0
- package/dist/browser/walk.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/walk.js +9 -12
- package/dist/browser/walk.js.map +1 -0
- package/dist/commonjs/base64.d.ts +11 -0
- package/dist/commonjs/base64.d.ts.map +1 -0
- package/dist/commonjs/base64.js +21 -0
- package/dist/commonjs/base64.js.map +1 -0
- package/dist/commonjs/errorModels.d.ts +50 -0
- package/dist/commonjs/errorModels.d.ts.map +1 -0
- package/dist/commonjs/errorModels.js +5 -0
- package/dist/commonjs/errorModels.js.map +1 -0
- package/dist/commonjs/generated/data/index.d.ts +4 -0
- package/dist/commonjs/generated/data/index.d.ts.map +1 -0
- package/dist/commonjs/generated/data/index.js +16 -0
- package/dist/commonjs/generated/data/index.js.map +1 -0
- package/dist/commonjs/generated/data/models/index.d.ts +783 -0
- package/dist/commonjs/generated/data/models/index.d.ts.map +1 -0
- package/dist/commonjs/generated/data/models/index.js +83 -0
- package/dist/commonjs/generated/data/models/index.js.map +1 -0
- package/dist/commonjs/generated/data/models/mappers.d.ts +34 -0
- package/dist/commonjs/generated/data/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/generated/data/models/mappers.js +1091 -0
- package/dist/commonjs/generated/data/models/mappers.js.map +1 -0
- package/dist/commonjs/generated/data/models/parameters.d.ts +58 -0
- package/dist/commonjs/generated/data/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/generated/data/models/parameters.js +581 -0
- package/dist/commonjs/generated/data/models/parameters.js.map +1 -0
- package/dist/commonjs/generated/data/operations/documents.d.ts +70 -0
- package/dist/commonjs/generated/data/operations/documents.d.ts.map +1 -0
- package/dist/commonjs/generated/data/operations/documents.js +320 -0
- package/dist/commonjs/generated/data/operations/documents.js.map +1 -0
- package/dist/commonjs/generated/data/operations/index.d.ts +2 -0
- package/dist/commonjs/generated/data/operations/index.d.ts.map +1 -0
- package/dist/commonjs/generated/data/operations/index.js +12 -0
- package/dist/commonjs/generated/data/operations/index.js.map +1 -0
- package/dist/commonjs/generated/data/operationsInterfaces/documents.d.ts +62 -0
- package/dist/commonjs/generated/data/operationsInterfaces/documents.d.ts.map +1 -0
- package/dist/commonjs/generated/data/operationsInterfaces/documents.js +10 -0
- package/dist/commonjs/generated/data/operationsInterfaces/documents.js.map +1 -0
- package/dist/commonjs/generated/data/operationsInterfaces/index.d.ts +2 -0
- package/dist/commonjs/generated/data/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/generated/data/operationsInterfaces/index.js +12 -0
- package/dist/commonjs/generated/data/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/generated/data/searchClient.d.ts +21 -0
- package/dist/commonjs/generated/data/searchClient.d.ts.map +1 -0
- package/dist/commonjs/generated/data/searchClient.js +93 -0
- package/dist/commonjs/generated/data/searchClient.js.map +1 -0
- package/dist/commonjs/generated/service/index.d.ts +4 -0
- package/dist/commonjs/generated/service/index.d.ts.map +1 -0
- package/dist/commonjs/generated/service/index.js +16 -0
- package/dist/commonjs/generated/service/index.js.map +1 -0
- package/dist/commonjs/generated/service/models/index.d.ts +4428 -0
- package/dist/commonjs/generated/service/models/index.d.ts.map +1 -0
- package/dist/commonjs/generated/service/models/index.js +1459 -0
- package/dist/commonjs/generated/service/models/index.js.map +1 -0
- package/dist/commonjs/generated/service/models/mappers.d.ts +272 -0
- package/dist/commonjs/generated/service/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/generated/service/models/mappers.js +6077 -0
- package/dist/commonjs/generated/service/models/mappers.js.map +1 -0
- package/dist/commonjs/generated/service/models/parameters.d.ts +22 -0
- package/dist/commonjs/generated/service/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/generated/service/models/parameters.js +176 -0
- package/dist/commonjs/generated/service/models/parameters.js.map +1 -0
- package/dist/commonjs/generated/service/operations/aliases.d.ts +2 -0
- package/dist/commonjs/generated/service/operations/aliases.d.ts.map +1 -0
- package/dist/commonjs/generated/service/operations/aliases.js +202 -0
- package/dist/commonjs/generated/service/operations/aliases.js.map +1 -0
- package/dist/commonjs/generated/service/operations/dataSources.d.ts +43 -0
- package/dist/commonjs/generated/service/operations/dataSources.d.ts.map +1 -0
- package/dist/commonjs/generated/service/operations/dataSources.js +165 -0
- package/dist/commonjs/generated/service/operations/dataSources.js.map +1 -0
- package/dist/commonjs/generated/service/operations/index.d.ts +6 -0
- package/dist/commonjs/generated/service/operations/index.d.ts.map +1 -0
- package/dist/commonjs/generated/service/operations/index.js +16 -0
- package/dist/commonjs/generated/service/operations/index.js.map +1 -0
- package/dist/commonjs/generated/service/operations/indexers.d.ts +61 -0
- package/dist/commonjs/generated/service/operations/indexers.d.ts.map +1 -0
- package/dist/commonjs/generated/service/operations/indexers.js +233 -0
- package/dist/commonjs/generated/service/operations/indexers.js.map +1 -0
- package/dist/commonjs/generated/service/operations/indexes.d.ts +58 -0
- package/dist/commonjs/generated/service/operations/indexes.d.ts.map +1 -0
- package/dist/commonjs/generated/service/operations/indexes.js +218 -0
- package/dist/commonjs/generated/service/operations/indexes.js.map +1 -0
- package/dist/commonjs/generated/service/operations/skillsets.d.ts +43 -0
- package/dist/commonjs/generated/service/operations/skillsets.d.ts.map +1 -0
- package/dist/commonjs/generated/service/operations/skillsets.js +165 -0
- package/dist/commonjs/generated/service/operations/skillsets.js.map +1 -0
- package/dist/commonjs/generated/service/operations/synonymMaps.d.ts +43 -0
- package/dist/commonjs/generated/service/operations/synonymMaps.d.ts.map +1 -0
- package/dist/commonjs/generated/service/operations/synonymMaps.js +165 -0
- package/dist/commonjs/generated/service/operations/synonymMaps.js.map +1 -0
- package/dist/commonjs/generated/service/operationsInterfaces/aliases.d.ts +2 -0
- package/dist/commonjs/generated/service/operationsInterfaces/aliases.d.ts.map +1 -0
- package/dist/commonjs/generated/service/operationsInterfaces/aliases.js +69 -0
- package/dist/commonjs/generated/service/operationsInterfaces/aliases.js.map +1 -0
- package/dist/commonjs/generated/service/operationsInterfaces/dataSources.d.ts +35 -0
- package/dist/commonjs/generated/service/operationsInterfaces/dataSources.d.ts.map +1 -0
- package/dist/commonjs/generated/service/operationsInterfaces/dataSources.js +10 -0
- package/dist/commonjs/generated/service/operationsInterfaces/dataSources.js.map +1 -0
- package/dist/commonjs/generated/service/operationsInterfaces/index.d.ts +6 -0
- package/dist/commonjs/generated/service/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/generated/service/operationsInterfaces/index.js +16 -0
- package/dist/commonjs/generated/service/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/generated/service/operationsInterfaces/indexers.d.ts +53 -0
- package/dist/commonjs/generated/service/operationsInterfaces/indexers.d.ts.map +1 -0
- package/dist/commonjs/generated/service/operationsInterfaces/indexers.js +10 -0
- package/dist/commonjs/generated/service/operationsInterfaces/indexers.js.map +1 -0
- package/dist/commonjs/generated/service/operationsInterfaces/indexes.d.ts +50 -0
- package/dist/commonjs/generated/service/operationsInterfaces/indexes.d.ts.map +1 -0
- package/dist/commonjs/generated/service/operationsInterfaces/indexes.js +10 -0
- package/dist/commonjs/generated/service/operationsInterfaces/indexes.js.map +1 -0
- package/dist/commonjs/generated/service/operationsInterfaces/skillsets.d.ts +35 -0
- package/dist/commonjs/generated/service/operationsInterfaces/skillsets.d.ts.map +1 -0
- package/dist/commonjs/generated/service/operationsInterfaces/skillsets.js +10 -0
- package/dist/commonjs/generated/service/operationsInterfaces/skillsets.js.map +1 -0
- package/dist/commonjs/generated/service/operationsInterfaces/synonymMaps.d.ts +35 -0
- package/dist/commonjs/generated/service/operationsInterfaces/synonymMaps.d.ts.map +1 -0
- package/dist/commonjs/generated/service/operationsInterfaces/synonymMaps.js +10 -0
- package/dist/commonjs/generated/service/operationsInterfaces/synonymMaps.js.map +1 -0
- package/dist/commonjs/generated/service/searchServiceClient.d.ts +28 -0
- package/dist/commonjs/generated/service/searchServiceClient.d.ts.map +1 -0
- package/dist/commonjs/generated/service/searchServiceClient.js +121 -0
- package/dist/commonjs/generated/service/searchServiceClient.js.map +1 -0
- package/dist/commonjs/geographyPoint.d.ts +27 -0
- package/dist/commonjs/geographyPoint.d.ts.map +1 -0
- package/dist/commonjs/geographyPoint.js +39 -0
- package/dist/commonjs/geographyPoint.js.map +1 -0
- package/dist/commonjs/index.d.ts +15 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +81 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/indexDocumentsBatch.d.ts +41 -0
- package/dist/commonjs/indexDocumentsBatch.d.ts.map +1 -0
- package/dist/commonjs/indexDocumentsBatch.js +83 -0
- package/dist/commonjs/indexDocumentsBatch.js.map +1 -0
- package/dist/commonjs/indexModels.d.ts +722 -0
- package/dist/commonjs/indexModels.d.ts.map +1 -0
- package/dist/commonjs/indexModels.js +5 -0
- package/dist/commonjs/indexModels.js.map +1 -0
- package/dist/commonjs/logger.d.ts +5 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +11 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/odata.d.ts +14 -0
- package/dist/commonjs/odata.d.ts.map +1 -0
- package/dist/commonjs/odata.js +50 -0
- package/dist/commonjs/odata.js.map +1 -0
- package/dist/commonjs/odataMetadataPolicy.d.ts +9 -0
- package/dist/commonjs/odataMetadataPolicy.d.ts.map +1 -0
- package/dist/commonjs/odataMetadataPolicy.js +21 -0
- package/dist/commonjs/odataMetadataPolicy.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/searchApiKeyCredentialPolicy.d.ts +8 -0
- package/dist/commonjs/searchApiKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/commonjs/searchApiKeyCredentialPolicy.js +23 -0
- package/dist/commonjs/searchApiKeyCredentialPolicy.js.map +1 -0
- package/dist/commonjs/searchAudience.d.ts +18 -0
- package/dist/commonjs/searchAudience.d.ts.map +1 -0
- package/dist/commonjs/searchAudience.js +24 -0
- package/dist/commonjs/searchAudience.js.map +1 -0
- package/dist/commonjs/searchClient.d.ts +266 -0
- package/dist/commonjs/searchClient.d.ts.map +1 -0
- package/dist/commonjs/searchClient.js +669 -0
- package/dist/commonjs/searchClient.js.map +1 -0
- package/dist/commonjs/searchIndexClient.d.ts +177 -0
- package/dist/commonjs/searchIndexClient.d.ts.map +1 -0
- package/dist/commonjs/searchIndexClient.js +514 -0
- package/dist/commonjs/searchIndexClient.js.map +1 -0
- package/dist/commonjs/searchIndexerClient.d.ts +187 -0
- package/dist/commonjs/searchIndexerClient.d.ts.map +1 -0
- package/dist/commonjs/searchIndexerClient.js +591 -0
- package/dist/commonjs/searchIndexerClient.js.map +1 -0
- package/dist/commonjs/searchIndexingBufferedSender.d.ts +193 -0
- package/dist/commonjs/searchIndexingBufferedSender.d.ts.map +1 -0
- package/dist/commonjs/searchIndexingBufferedSender.js +327 -0
- package/dist/commonjs/searchIndexingBufferedSender.js.map +1 -0
- package/dist/commonjs/serialization.d.ts +3 -0
- package/dist/commonjs/serialization.d.ts.map +1 -0
- package/dist/commonjs/serialization.js +149 -0
- package/dist/commonjs/serialization.js.map +1 -0
- package/dist/commonjs/serviceModels.d.ts +2181 -0
- package/dist/commonjs/serviceModels.d.ts.map +1 -0
- package/dist/commonjs/serviceModels.js +658 -0
- package/dist/commonjs/serviceModels.js.map +1 -0
- package/dist/commonjs/serviceUtils.d.ts +35 -0
- package/dist/commonjs/serviceUtils.d.ts.map +1 -0
- package/dist/commonjs/serviceUtils.js +548 -0
- package/dist/commonjs/serviceUtils.js.map +1 -0
- package/dist/commonjs/synonymMapHelper.d.ts +10 -0
- package/dist/commonjs/synonymMapHelper.d.ts.map +1 -0
- package/dist/commonjs/synonymMapHelper.js +28 -0
- package/dist/commonjs/synonymMapHelper.js.map +1 -0
- package/dist/commonjs/tracing.d.ts +7 -0
- package/dist/commonjs/tracing.d.ts.map +1 -0
- package/dist/commonjs/tracing.js +16 -0
- package/dist/commonjs/tracing.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/commonjs/walk.d.ts +2 -0
- package/dist/commonjs/walk.d.ts.map +1 -0
- package/dist/commonjs/walk.js +79 -0
- package/dist/commonjs/walk.js.map +1 -0
- package/dist/esm/base64.d.ts +11 -0
- package/dist/esm/base64.d.ts.map +1 -0
- package/dist/esm/errorModels.d.ts +50 -0
- package/dist/esm/errorModels.d.ts.map +1 -0
- package/dist/esm/errorModels.js +4 -0
- package/dist/esm/errorModels.js.map +1 -0
- package/dist/esm/generated/data/index.d.ts +4 -0
- package/dist/esm/generated/data/index.d.ts.map +1 -0
- package/{dist-esm/src/generated/service → dist/esm/generated/data}/index.js +3 -3
- package/dist/esm/generated/data/index.js.map +1 -0
- package/dist/esm/generated/data/models/index.d.ts +783 -0
- package/dist/esm/generated/data/models/index.d.ts.map +1 -0
- package/dist/esm/generated/data/models/index.js +80 -0
- package/dist/esm/generated/data/models/index.js.map +1 -0
- package/dist/esm/generated/data/models/mappers.d.ts +34 -0
- package/dist/esm/generated/data/models/mappers.d.ts.map +1 -0
- package/dist/esm/generated/data/models/mappers.js +1088 -0
- package/dist/esm/generated/data/models/mappers.js.map +1 -0
- package/dist/esm/generated/data/models/parameters.d.ts +58 -0
- package/dist/esm/generated/data/models/parameters.d.ts.map +1 -0
- package/dist/esm/generated/data/models/parameters.js +577 -0
- package/dist/esm/generated/data/models/parameters.js.map +1 -0
- package/dist/esm/generated/data/operations/documents.d.ts +70 -0
- package/dist/esm/generated/data/operations/documents.d.ts.map +1 -0
- package/dist/esm/generated/data/operations/documents.js +315 -0
- package/dist/esm/generated/data/operations/documents.js.map +1 -0
- package/dist/esm/generated/data/operations/index.d.ts +2 -0
- package/dist/esm/generated/data/operations/index.d.ts.map +1 -0
- package/dist/esm/generated/data/operations/index.js +9 -0
- package/dist/esm/generated/data/operations/index.js.map +1 -0
- package/dist/esm/generated/data/operationsInterfaces/documents.d.ts +62 -0
- package/dist/esm/generated/data/operationsInterfaces/documents.d.ts.map +1 -0
- package/dist/esm/generated/data/operationsInterfaces/documents.js +9 -0
- package/dist/esm/generated/data/operationsInterfaces/documents.js.map +1 -0
- package/dist/esm/generated/data/operationsInterfaces/index.d.ts +2 -0
- package/dist/esm/generated/data/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/generated/data/operationsInterfaces/index.js +9 -0
- package/dist/esm/generated/data/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/generated/data/searchClient.d.ts +21 -0
- package/dist/esm/generated/data/searchClient.d.ts.map +1 -0
- package/dist/esm/generated/data/searchClient.js +88 -0
- package/dist/esm/generated/data/searchClient.js.map +1 -0
- package/dist/esm/generated/service/index.d.ts +4 -0
- package/dist/esm/generated/service/index.d.ts.map +1 -0
- package/dist/esm/generated/service/index.js +11 -0
- package/dist/esm/generated/service/index.js.map +1 -0
- package/dist/esm/generated/service/models/index.d.ts +4428 -0
- package/dist/esm/generated/service/models/index.d.ts.map +1 -0
- package/dist/esm/generated/service/models/index.js +1456 -0
- package/dist/esm/generated/service/models/index.js.map +1 -0
- package/dist/esm/generated/service/models/mappers.d.ts +272 -0
- package/dist/esm/generated/service/models/mappers.d.ts.map +1 -0
- package/dist/esm/generated/service/models/mappers.js +6071 -0
- package/dist/esm/generated/service/models/mappers.js.map +1 -0
- package/dist/esm/generated/service/models/parameters.d.ts +22 -0
- package/dist/esm/generated/service/models/parameters.d.ts.map +1 -0
- package/dist/esm/generated/service/models/parameters.js +173 -0
- package/dist/esm/generated/service/models/parameters.js.map +1 -0
- package/dist/esm/generated/service/operations/aliases.d.ts +2 -0
- package/dist/esm/generated/service/operations/aliases.d.ts.map +1 -0
- package/dist/esm/generated/service/operations/aliases.js +201 -0
- package/dist/esm/generated/service/operations/aliases.js.map +1 -0
- package/dist/esm/generated/service/operations/dataSources.d.ts +43 -0
- package/dist/esm/generated/service/operations/dataSources.d.ts.map +1 -0
- package/dist/esm/generated/service/operations/dataSources.js +160 -0
- package/dist/esm/generated/service/operations/dataSources.js.map +1 -0
- package/dist/esm/generated/service/operations/index.d.ts +6 -0
- package/dist/esm/generated/service/operations/index.d.ts.map +1 -0
- package/dist/esm/generated/service/operations/index.js +13 -0
- package/dist/esm/generated/service/operations/index.js.map +1 -0
- package/dist/esm/generated/service/operations/indexers.d.ts +61 -0
- package/dist/esm/generated/service/operations/indexers.d.ts.map +1 -0
- package/dist/esm/generated/service/operations/indexers.js +228 -0
- package/dist/esm/generated/service/operations/indexers.js.map +1 -0
- package/dist/esm/generated/service/operations/indexes.d.ts +58 -0
- package/dist/esm/generated/service/operations/indexes.d.ts.map +1 -0
- package/dist/esm/generated/service/operations/indexes.js +213 -0
- package/dist/esm/generated/service/operations/indexes.js.map +1 -0
- package/dist/esm/generated/service/operations/skillsets.d.ts +43 -0
- package/dist/esm/generated/service/operations/skillsets.d.ts.map +1 -0
- package/{dist-esm/src/generated/service/operations/aliases.js → dist/esm/generated/service/operations/skillsets.js} +71 -71
- package/dist/esm/generated/service/operations/skillsets.js.map +1 -0
- package/dist/esm/generated/service/operations/synonymMaps.d.ts +43 -0
- package/dist/esm/generated/service/operations/synonymMaps.d.ts.map +1 -0
- package/dist/esm/generated/service/operations/synonymMaps.js +160 -0
- package/dist/esm/generated/service/operations/synonymMaps.js.map +1 -0
- package/dist/esm/generated/service/operationsInterfaces/aliases.d.ts +2 -0
- package/dist/esm/generated/service/operationsInterfaces/aliases.d.ts.map +1 -0
- package/dist/esm/generated/service/operationsInterfaces/aliases.js +68 -0
- package/dist/esm/generated/service/operationsInterfaces/aliases.js.map +1 -0
- package/dist/esm/generated/service/operationsInterfaces/dataSources.d.ts +35 -0
- package/dist/esm/generated/service/operationsInterfaces/dataSources.d.ts.map +1 -0
- package/dist/esm/generated/service/operationsInterfaces/dataSources.js +9 -0
- package/dist/esm/generated/service/operationsInterfaces/dataSources.js.map +1 -0
- package/dist/esm/generated/service/operationsInterfaces/index.d.ts +6 -0
- package/dist/esm/generated/service/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/generated/service/operationsInterfaces/index.js +13 -0
- package/dist/esm/generated/service/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/generated/service/operationsInterfaces/indexers.d.ts +53 -0
- package/dist/esm/generated/service/operationsInterfaces/indexers.d.ts.map +1 -0
- package/dist/esm/generated/service/operationsInterfaces/indexers.js +9 -0
- package/dist/esm/generated/service/operationsInterfaces/indexers.js.map +1 -0
- package/dist/esm/generated/service/operationsInterfaces/indexes.d.ts +50 -0
- package/dist/esm/generated/service/operationsInterfaces/indexes.d.ts.map +1 -0
- package/{dist-esm/src/generated/service/operationsInterfaces/aliases.js → dist/esm/generated/service/operationsInterfaces/indexes.js} +1 -1
- package/dist/esm/generated/service/operationsInterfaces/indexes.js.map +1 -0
- package/dist/esm/generated/service/operationsInterfaces/skillsets.d.ts +35 -0
- package/dist/esm/generated/service/operationsInterfaces/skillsets.d.ts.map +1 -0
- package/dist/esm/generated/service/operationsInterfaces/skillsets.js +9 -0
- package/dist/esm/generated/service/operationsInterfaces/skillsets.js.map +1 -0
- package/dist/esm/generated/service/operationsInterfaces/synonymMaps.d.ts +35 -0
- package/dist/esm/generated/service/operationsInterfaces/synonymMaps.d.ts.map +1 -0
- package/dist/esm/generated/service/operationsInterfaces/synonymMaps.js +9 -0
- package/dist/esm/generated/service/operationsInterfaces/synonymMaps.js.map +1 -0
- package/dist/esm/generated/service/searchServiceClient.d.ts +28 -0
- package/dist/esm/generated/service/searchServiceClient.d.ts.map +1 -0
- package/dist/esm/generated/service/searchServiceClient.js +116 -0
- package/dist/esm/generated/service/searchServiceClient.js.map +1 -0
- package/dist/esm/geographyPoint.d.ts +27 -0
- package/dist/esm/geographyPoint.d.ts.map +1 -0
- package/dist/esm/geographyPoint.js +36 -0
- package/dist/esm/geographyPoint.js.map +1 -0
- package/dist/esm/index.d.ts +15 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/indexDocumentsBatch.d.ts +41 -0
- package/dist/esm/indexDocumentsBatch.d.ts.map +1 -0
- package/dist/esm/indexDocumentsBatch.js +79 -0
- package/dist/esm/indexDocumentsBatch.js.map +1 -0
- package/dist/esm/indexModels.d.ts +722 -0
- package/dist/esm/indexModels.d.ts.map +1 -0
- package/dist/esm/indexModels.js +4 -0
- package/dist/esm/indexModels.js.map +1 -0
- package/dist/esm/logger.d.ts +5 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +8 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/odata.d.ts +14 -0
- package/dist/esm/odata.d.ts.map +1 -0
- package/dist/esm/odata.js +47 -0
- package/dist/esm/odata.js.map +1 -0
- package/dist/esm/odataMetadataPolicy.d.ts +9 -0
- package/dist/esm/odataMetadataPolicy.d.ts.map +1 -0
- package/dist/esm/odataMetadataPolicy.js +18 -0
- package/dist/esm/odataMetadataPolicy.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/searchApiKeyCredentialPolicy.d.ts +8 -0
- package/dist/esm/searchApiKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/esm/searchApiKeyCredentialPolicy.js +20 -0
- package/dist/esm/searchApiKeyCredentialPolicy.js.map +1 -0
- package/dist/esm/searchAudience.d.ts +18 -0
- package/dist/esm/searchAudience.d.ts.map +1 -0
- package/dist/esm/searchAudience.js +21 -0
- package/dist/esm/searchAudience.js.map +1 -0
- package/dist/esm/searchClient.d.ts +266 -0
- package/dist/esm/searchClient.d.ts.map +1 -0
- package/dist/esm/searchClient.js +664 -0
- package/dist/esm/searchClient.js.map +1 -0
- package/dist/esm/searchIndexClient.d.ts +177 -0
- package/dist/esm/searchIndexClient.d.ts.map +1 -0
- package/dist/esm/searchIndexClient.js +509 -0
- package/dist/esm/searchIndexClient.js.map +1 -0
- package/dist/esm/searchIndexerClient.d.ts +187 -0
- package/dist/esm/searchIndexerClient.d.ts.map +1 -0
- package/dist/esm/searchIndexerClient.js +586 -0
- package/dist/esm/searchIndexerClient.js.map +1 -0
- package/dist/esm/searchIndexingBufferedSender.d.ts +193 -0
- package/dist/esm/searchIndexingBufferedSender.d.ts.map +1 -0
- package/dist/esm/searchIndexingBufferedSender.js +322 -0
- package/dist/esm/searchIndexingBufferedSender.js.map +1 -0
- package/dist/esm/serialization.d.ts +3 -0
- package/dist/esm/serialization.d.ts.map +1 -0
- package/dist/esm/serialization.js +144 -0
- package/dist/esm/serialization.js.map +1 -0
- package/dist/esm/serviceModels.d.ts +2181 -0
- package/dist/esm/serviceModels.d.ts.map +1 -0
- package/dist/esm/serviceModels.js +654 -0
- package/dist/esm/serviceModels.js.map +1 -0
- package/dist/esm/serviceUtils.d.ts +35 -0
- package/dist/esm/serviceUtils.d.ts.map +1 -0
- package/dist/esm/serviceUtils.js +518 -0
- package/dist/esm/serviceUtils.js.map +1 -0
- package/dist/esm/synonymMapHelper.d.ts +10 -0
- package/dist/esm/synonymMapHelper.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/synonymMapHelper.js.map +1 -1
- package/dist/esm/tracing.d.ts +7 -0
- package/dist/esm/tracing.d.ts.map +1 -0
- package/dist/esm/tracing.js +13 -0
- package/dist/esm/tracing.js.map +1 -0
- package/dist/esm/walk.d.ts +2 -0
- package/dist/esm/walk.d.ts.map +1 -0
- package/dist/esm/walk.js +76 -0
- package/dist/esm/walk.js.map +1 -0
- package/dist/react-native/base64.d.ts +11 -0
- package/dist/react-native/base64.d.ts.map +1 -0
- package/dist/react-native/base64.js +17 -0
- package/dist/react-native/base64.js.map +1 -0
- package/dist/react-native/errorModels.d.ts +50 -0
- package/dist/react-native/errorModels.d.ts.map +1 -0
- package/dist/react-native/errorModels.js +4 -0
- package/dist/react-native/errorModels.js.map +1 -0
- package/dist/react-native/generated/data/index.d.ts +4 -0
- package/dist/react-native/generated/data/index.d.ts.map +1 -0
- package/dist/react-native/generated/data/index.js +11 -0
- package/dist/react-native/generated/data/index.js.map +1 -0
- package/dist/react-native/generated/data/models/index.d.ts +783 -0
- package/dist/react-native/generated/data/models/index.d.ts.map +1 -0
- package/dist/react-native/generated/data/models/index.js +80 -0
- package/dist/react-native/generated/data/models/index.js.map +1 -0
- package/dist/react-native/generated/data/models/mappers.d.ts +34 -0
- package/dist/react-native/generated/data/models/mappers.d.ts.map +1 -0
- package/dist/react-native/generated/data/models/mappers.js +1088 -0
- package/dist/react-native/generated/data/models/mappers.js.map +1 -0
- package/dist/react-native/generated/data/models/parameters.d.ts +58 -0
- package/dist/react-native/generated/data/models/parameters.d.ts.map +1 -0
- package/dist/react-native/generated/data/models/parameters.js +577 -0
- package/dist/react-native/generated/data/models/parameters.js.map +1 -0
- package/dist/react-native/generated/data/operations/documents.d.ts +70 -0
- package/dist/react-native/generated/data/operations/documents.d.ts.map +1 -0
- package/dist/react-native/generated/data/operations/documents.js +315 -0
- package/dist/react-native/generated/data/operations/documents.js.map +1 -0
- package/dist/react-native/generated/data/operations/index.d.ts +2 -0
- package/dist/react-native/generated/data/operations/index.d.ts.map +1 -0
- package/dist/react-native/generated/data/operations/index.js +9 -0
- package/dist/react-native/generated/data/operations/index.js.map +1 -0
- package/dist/react-native/generated/data/operationsInterfaces/documents.d.ts +62 -0
- package/dist/react-native/generated/data/operationsInterfaces/documents.d.ts.map +1 -0
- package/dist/react-native/generated/data/operationsInterfaces/documents.js +9 -0
- package/dist/react-native/generated/data/operationsInterfaces/documents.js.map +1 -0
- package/dist/react-native/generated/data/operationsInterfaces/index.d.ts +2 -0
- package/dist/react-native/generated/data/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/generated/data/operationsInterfaces/index.js +9 -0
- package/dist/react-native/generated/data/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/generated/data/searchClient.d.ts +21 -0
- package/dist/react-native/generated/data/searchClient.d.ts.map +1 -0
- package/dist/react-native/generated/data/searchClient.js +88 -0
- package/dist/react-native/generated/data/searchClient.js.map +1 -0
- package/dist/react-native/generated/service/index.d.ts +4 -0
- package/dist/react-native/generated/service/index.d.ts.map +1 -0
- package/dist/react-native/generated/service/index.js +11 -0
- package/dist/react-native/generated/service/index.js.map +1 -0
- package/dist/react-native/generated/service/models/index.d.ts +4428 -0
- package/dist/react-native/generated/service/models/index.d.ts.map +1 -0
- package/dist/react-native/generated/service/models/index.js +1456 -0
- package/dist/react-native/generated/service/models/index.js.map +1 -0
- package/dist/react-native/generated/service/models/mappers.d.ts +272 -0
- package/dist/react-native/generated/service/models/mappers.d.ts.map +1 -0
- package/dist/react-native/generated/service/models/mappers.js +6071 -0
- package/dist/react-native/generated/service/models/mappers.js.map +1 -0
- package/dist/react-native/generated/service/models/parameters.d.ts +22 -0
- package/dist/react-native/generated/service/models/parameters.d.ts.map +1 -0
- package/dist/react-native/generated/service/models/parameters.js +173 -0
- package/dist/react-native/generated/service/models/parameters.js.map +1 -0
- package/dist/react-native/generated/service/operations/aliases.d.ts +2 -0
- package/dist/react-native/generated/service/operations/aliases.d.ts.map +1 -0
- package/dist/react-native/generated/service/operations/aliases.js +201 -0
- package/dist/react-native/generated/service/operations/aliases.js.map +1 -0
- package/dist/react-native/generated/service/operations/dataSources.d.ts +43 -0
- package/dist/react-native/generated/service/operations/dataSources.d.ts.map +1 -0
- package/dist/react-native/generated/service/operations/dataSources.js +160 -0
- package/dist/react-native/generated/service/operations/dataSources.js.map +1 -0
- package/dist/react-native/generated/service/operations/index.d.ts +6 -0
- package/dist/react-native/generated/service/operations/index.d.ts.map +1 -0
- package/dist/react-native/generated/service/operations/index.js +13 -0
- package/dist/react-native/generated/service/operations/index.js.map +1 -0
- package/dist/react-native/generated/service/operations/indexers.d.ts +61 -0
- package/dist/react-native/generated/service/operations/indexers.d.ts.map +1 -0
- package/dist/react-native/generated/service/operations/indexers.js +228 -0
- package/dist/react-native/generated/service/operations/indexers.js.map +1 -0
- package/dist/react-native/generated/service/operations/indexes.d.ts +58 -0
- package/dist/react-native/generated/service/operations/indexes.d.ts.map +1 -0
- package/dist/react-native/generated/service/operations/indexes.js +213 -0
- package/dist/react-native/generated/service/operations/indexes.js.map +1 -0
- package/dist/react-native/generated/service/operations/skillsets.d.ts +43 -0
- package/dist/react-native/generated/service/operations/skillsets.d.ts.map +1 -0
- package/dist/react-native/generated/service/operations/skillsets.js +160 -0
- package/dist/react-native/generated/service/operations/skillsets.js.map +1 -0
- package/dist/react-native/generated/service/operations/synonymMaps.d.ts +43 -0
- package/dist/react-native/generated/service/operations/synonymMaps.d.ts.map +1 -0
- package/dist/react-native/generated/service/operations/synonymMaps.js +160 -0
- package/dist/react-native/generated/service/operations/synonymMaps.js.map +1 -0
- package/dist/react-native/generated/service/operationsInterfaces/aliases.d.ts +2 -0
- package/dist/react-native/generated/service/operationsInterfaces/aliases.d.ts.map +1 -0
- package/dist/react-native/generated/service/operationsInterfaces/aliases.js +68 -0
- package/dist/react-native/generated/service/operationsInterfaces/aliases.js.map +1 -0
- package/dist/react-native/generated/service/operationsInterfaces/dataSources.d.ts +35 -0
- package/dist/react-native/generated/service/operationsInterfaces/dataSources.d.ts.map +1 -0
- package/dist/react-native/generated/service/operationsInterfaces/dataSources.js +9 -0
- package/dist/react-native/generated/service/operationsInterfaces/dataSources.js.map +1 -0
- package/dist/react-native/generated/service/operationsInterfaces/index.d.ts +6 -0
- package/dist/react-native/generated/service/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/generated/service/operationsInterfaces/index.js +13 -0
- package/dist/react-native/generated/service/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/generated/service/operationsInterfaces/indexers.d.ts +53 -0
- package/dist/react-native/generated/service/operationsInterfaces/indexers.d.ts.map +1 -0
- package/dist/react-native/generated/service/operationsInterfaces/indexers.js +9 -0
- package/dist/react-native/generated/service/operationsInterfaces/indexers.js.map +1 -0
- package/dist/react-native/generated/service/operationsInterfaces/indexes.d.ts +50 -0
- package/dist/react-native/generated/service/operationsInterfaces/indexes.d.ts.map +1 -0
- package/dist/react-native/generated/service/operationsInterfaces/indexes.js +9 -0
- package/dist/react-native/generated/service/operationsInterfaces/indexes.js.map +1 -0
- package/dist/react-native/generated/service/operationsInterfaces/skillsets.d.ts +35 -0
- package/dist/react-native/generated/service/operationsInterfaces/skillsets.d.ts.map +1 -0
- package/dist/react-native/generated/service/operationsInterfaces/skillsets.js +9 -0
- package/dist/react-native/generated/service/operationsInterfaces/skillsets.js.map +1 -0
- package/dist/react-native/generated/service/operationsInterfaces/synonymMaps.d.ts +35 -0
- package/dist/react-native/generated/service/operationsInterfaces/synonymMaps.d.ts.map +1 -0
- package/dist/react-native/generated/service/operationsInterfaces/synonymMaps.js +9 -0
- package/dist/react-native/generated/service/operationsInterfaces/synonymMaps.js.map +1 -0
- package/dist/react-native/generated/service/searchServiceClient.d.ts +28 -0
- package/dist/react-native/generated/service/searchServiceClient.d.ts.map +1 -0
- package/dist/react-native/generated/service/searchServiceClient.js +116 -0
- package/dist/react-native/generated/service/searchServiceClient.js.map +1 -0
- package/dist/react-native/geographyPoint.d.ts +27 -0
- package/dist/react-native/geographyPoint.d.ts.map +1 -0
- package/dist/react-native/geographyPoint.js +36 -0
- package/dist/react-native/geographyPoint.js.map +1 -0
- package/dist/react-native/index.d.ts +15 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +16 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/indexDocumentsBatch.d.ts +41 -0
- package/dist/react-native/indexDocumentsBatch.d.ts.map +1 -0
- package/dist/react-native/indexDocumentsBatch.js +79 -0
- package/dist/react-native/indexDocumentsBatch.js.map +1 -0
- package/dist/react-native/indexModels.d.ts +722 -0
- package/dist/react-native/indexModels.d.ts.map +1 -0
- package/dist/react-native/indexModels.js +4 -0
- package/dist/react-native/indexModels.js.map +1 -0
- package/dist/react-native/logger.d.ts +5 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +8 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/odata.d.ts +14 -0
- package/dist/react-native/odata.d.ts.map +1 -0
- package/dist/react-native/odata.js +47 -0
- package/dist/react-native/odata.js.map +1 -0
- package/dist/react-native/odataMetadataPolicy.d.ts +9 -0
- package/dist/react-native/odataMetadataPolicy.d.ts.map +1 -0
- package/dist/react-native/odataMetadataPolicy.js +18 -0
- package/dist/react-native/odataMetadataPolicy.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/searchApiKeyCredentialPolicy.d.ts +8 -0
- package/dist/react-native/searchApiKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/react-native/searchApiKeyCredentialPolicy.js +20 -0
- package/dist/react-native/searchApiKeyCredentialPolicy.js.map +1 -0
- package/dist/react-native/searchAudience.d.ts +18 -0
- package/dist/react-native/searchAudience.d.ts.map +1 -0
- package/dist/react-native/searchAudience.js +21 -0
- package/dist/react-native/searchAudience.js.map +1 -0
- package/dist/react-native/searchClient.d.ts +266 -0
- package/dist/react-native/searchClient.d.ts.map +1 -0
- package/dist/react-native/searchClient.js +664 -0
- package/dist/react-native/searchClient.js.map +1 -0
- package/dist/react-native/searchIndexClient.d.ts +177 -0
- package/dist/react-native/searchIndexClient.d.ts.map +1 -0
- package/dist/react-native/searchIndexClient.js +509 -0
- package/dist/react-native/searchIndexClient.js.map +1 -0
- package/dist/react-native/searchIndexerClient.d.ts +187 -0
- package/dist/react-native/searchIndexerClient.d.ts.map +1 -0
- package/dist/react-native/searchIndexerClient.js +586 -0
- package/dist/react-native/searchIndexerClient.js.map +1 -0
- package/dist/react-native/searchIndexingBufferedSender.d.ts +193 -0
- package/dist/react-native/searchIndexingBufferedSender.d.ts.map +1 -0
- package/dist/react-native/searchIndexingBufferedSender.js +322 -0
- package/dist/react-native/searchIndexingBufferedSender.js.map +1 -0
- package/dist/react-native/serialization.d.ts +3 -0
- package/dist/react-native/serialization.d.ts.map +1 -0
- package/dist/react-native/serialization.js +144 -0
- package/dist/react-native/serialization.js.map +1 -0
- package/dist/react-native/serviceModels.d.ts +2181 -0
- package/dist/react-native/serviceModels.d.ts.map +1 -0
- package/dist/react-native/serviceModels.js +654 -0
- package/dist/react-native/serviceModels.js.map +1 -0
- package/dist/react-native/serviceUtils.d.ts +35 -0
- package/dist/react-native/serviceUtils.d.ts.map +1 -0
- package/dist/react-native/serviceUtils.js +518 -0
- package/dist/react-native/serviceUtils.js.map +1 -0
- package/dist/react-native/synonymMapHelper.d.ts +10 -0
- package/dist/react-native/synonymMapHelper.d.ts.map +1 -0
- package/dist/react-native/synonymMapHelper.js +24 -0
- package/dist/react-native/synonymMapHelper.js.map +1 -0
- package/dist/react-native/tracing.d.ts +7 -0
- package/dist/react-native/tracing.d.ts.map +1 -0
- package/dist/react-native/tracing.js +13 -0
- package/dist/react-native/tracing.js.map +1 -0
- package/dist/react-native/walk.d.ts +2 -0
- package/dist/react-native/walk.d.ts.map +1 -0
- package/dist/react-native/walk.js +76 -0
- package/dist/react-native/walk.js.map +1 -0
- package/package.json +88 -81
- package/dist/index.js +0 -15948
- package/dist/index.js.map +0 -1
- package/dist-esm/src/base64.browser.js.map +0 -1
- package/dist-esm/src/errorModels.js.map +0 -1
- package/dist-esm/src/generated/data/index.js.map +0 -1
- package/dist-esm/src/generated/data/models/index.js +0 -286
- package/dist-esm/src/generated/data/models/index.js.map +0 -1
- package/dist-esm/src/generated/data/models/mappers.js.map +0 -1
- package/dist-esm/src/generated/data/models/parameters.js.map +0 -1
- package/dist-esm/src/generated/data/operations/documents.js.map +0 -1
- package/dist-esm/src/generated/data/operations/index.js.map +0 -1
- package/dist-esm/src/generated/data/operationsInterfaces/documents.js.map +0 -1
- package/dist-esm/src/generated/data/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/generated/data/searchClient.js.map +0 -1
- package/dist-esm/src/generated/service/index.js.map +0 -1
- package/dist-esm/src/generated/service/models/index.js.map +0 -1
- package/dist-esm/src/generated/service/models/mappers.js.map +0 -1
- package/dist-esm/src/generated/service/models/parameters.js.map +0 -1
- package/dist-esm/src/generated/service/operations/aliases.js.map +0 -1
- package/dist-esm/src/generated/service/operations/dataSources.js.map +0 -1
- package/dist-esm/src/generated/service/operations/index.js +0 -14
- package/dist-esm/src/generated/service/operations/index.js.map +0 -1
- package/dist-esm/src/generated/service/operations/indexers.js.map +0 -1
- package/dist-esm/src/generated/service/operations/indexes.js.map +0 -1
- package/dist-esm/src/generated/service/operations/skillsets.js.map +0 -1
- package/dist-esm/src/generated/service/operations/synonymMaps.js.map +0 -1
- package/dist-esm/src/generated/service/operationsInterfaces/aliases.js.map +0 -1
- package/dist-esm/src/generated/service/operationsInterfaces/dataSources.js.map +0 -1
- package/dist-esm/src/generated/service/operationsInterfaces/index.js +0 -14
- package/dist-esm/src/generated/service/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/generated/service/operationsInterfaces/indexers.js.map +0 -1
- package/dist-esm/src/generated/service/operationsInterfaces/indexes.js.map +0 -1
- package/dist-esm/src/generated/service/operationsInterfaces/skillsets.js.map +0 -1
- package/dist-esm/src/generated/service/operationsInterfaces/synonymMaps.js.map +0 -1
- package/dist-esm/src/generated/service/searchServiceClient.js.map +0 -1
- package/dist-esm/src/geographyPoint.js.map +0 -1
- package/dist-esm/src/index.js +0 -16
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/indexDocumentsBatch.js.map +0 -1
- package/dist-esm/src/indexModels.js.map +0 -1
- package/dist-esm/src/odataMetadataPolicy.js.map +0 -1
- package/dist-esm/src/searchApiKeyCredentialPolicy.js.map +0 -1
- package/dist-esm/src/searchClient.js.map +0 -1
- package/dist-esm/src/searchIndexClient.js.map +0 -1
- package/dist-esm/src/searchIndexerClient.js.map +0 -1
- package/dist-esm/src/searchIndexingBufferedSender.js.map +0 -1
- package/dist-esm/src/serialization.js.map +0 -1
- package/dist-esm/src/serviceModels.js.map +0 -1
- package/dist-esm/src/serviceUtils.js.map +0 -1
- package/dist-esm/src/synonymMapHelper.browser.js.map +0 -1
- package/dist-esm/src/walk.js.map +0 -1
- package/types/search-documents.d.ts +0 -8041
- /package/{dist-esm/src → dist/browser}/errorModels.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/data/operationsInterfaces/documents.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/service/operationsInterfaces/dataSources.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/service/operationsInterfaces/indexers.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/service/operationsInterfaces/indexes.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/service/operationsInterfaces/skillsets.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/service/operationsInterfaces/synonymMaps.js +0 -0
- /package/{dist-esm/src → dist/browser}/indexModels.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/odata.js +0 -0
- /package/{dist-esm/src → dist/browser}/odata.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/odataMetadataPolicy.js +0 -0
- /package/{dist-esm/src → dist/browser}/searchApiKeyCredentialPolicy.js +0 -0
- /package/{dist-esm/src → dist/browser}/searchAudience.js +0 -0
- /package/{dist-esm/src → dist/browser}/searchAudience.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/serviceModels.js +0 -0
- /package/{dist-esm/src → dist/browser}/tracing.js +0 -0
- /package/{dist-esm/src → dist/browser}/tracing.js.map +0 -0
- /package/{dist-esm/src → dist/esm}/base64.js +0 -0
- /package/{dist-esm/src → dist/esm}/base64.js.map +0 -0
- /package/{dist-esm/src → dist/esm}/synonymMapHelper.js +0 -0
|
@@ -0,0 +1,783 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import * as coreHttpCompat from "@azure/core-http-compat";
|
|
3
|
+
export type VectorQueryUnion = VectorQuery | VectorizedQuery | VectorizableTextQuery;
|
|
4
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
5
|
+
export interface ErrorResponse {
|
|
6
|
+
/** The error object. */
|
|
7
|
+
error?: ErrorDetail;
|
|
8
|
+
}
|
|
9
|
+
/** The error detail. */
|
|
10
|
+
export interface ErrorDetail {
|
|
11
|
+
/**
|
|
12
|
+
* The error code.
|
|
13
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
14
|
+
*/
|
|
15
|
+
readonly code?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The error message.
|
|
18
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
19
|
+
*/
|
|
20
|
+
readonly message?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The error target.
|
|
23
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
24
|
+
*/
|
|
25
|
+
readonly target?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The error details.
|
|
28
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
29
|
+
*/
|
|
30
|
+
readonly details?: ErrorDetail[];
|
|
31
|
+
/**
|
|
32
|
+
* The error additional info.
|
|
33
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
34
|
+
*/
|
|
35
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
36
|
+
}
|
|
37
|
+
/** The resource management error additional info. */
|
|
38
|
+
export interface ErrorAdditionalInfo {
|
|
39
|
+
/**
|
|
40
|
+
* The additional info type.
|
|
41
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
42
|
+
*/
|
|
43
|
+
readonly type?: string;
|
|
44
|
+
/**
|
|
45
|
+
* The additional info.
|
|
46
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
47
|
+
*/
|
|
48
|
+
readonly info?: Record<string, unknown>;
|
|
49
|
+
}
|
|
50
|
+
/** Response containing search results from an index. */
|
|
51
|
+
export interface SearchDocumentsResult {
|
|
52
|
+
/**
|
|
53
|
+
* The total count of results found by the search operation, or null if the count was not requested. If present, the count may be greater than the number of results in this response. This can happen if you use the $top or $skip parameters, or if the query can't return all the requested documents in a single response.
|
|
54
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
55
|
+
*/
|
|
56
|
+
readonly count?: number;
|
|
57
|
+
/**
|
|
58
|
+
* A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not specified in the request.
|
|
59
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
60
|
+
*/
|
|
61
|
+
readonly coverage?: number;
|
|
62
|
+
/**
|
|
63
|
+
* The facet query results for the search operation, organized as a collection of buckets for each faceted field; null if the query did not include any facet expressions.
|
|
64
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
65
|
+
*/
|
|
66
|
+
readonly facets?: {
|
|
67
|
+
[propertyName: string]: FacetResult[];
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* The answers query results for the search operation; null if the answers query parameter was not specified or set to 'none'.
|
|
71
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
72
|
+
*/
|
|
73
|
+
readonly answers?: QueryAnswerResult[];
|
|
74
|
+
/**
|
|
75
|
+
* Continuation JSON payload returned when the query can't return all the requested results in a single response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response.
|
|
76
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
77
|
+
*/
|
|
78
|
+
readonly nextPageParameters?: SearchRequest;
|
|
79
|
+
/**
|
|
80
|
+
* The sequence of results returned by the query.
|
|
81
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
82
|
+
*/
|
|
83
|
+
readonly results: SearchResult[];
|
|
84
|
+
/**
|
|
85
|
+
* Continuation URL returned when the query can't return all the requested results in a single response. You can use this URL to formulate another GET or POST Search request to get the next part of the search response. Make sure to use the same verb (GET or POST) as the request that produced this response.
|
|
86
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
87
|
+
*/
|
|
88
|
+
readonly nextLink?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Reason that a partial response was returned for a semantic ranking request.
|
|
91
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
92
|
+
*/
|
|
93
|
+
readonly semanticPartialResponseReason?: SemanticErrorReason;
|
|
94
|
+
/**
|
|
95
|
+
* Type of partial response that was returned for a semantic ranking request.
|
|
96
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
97
|
+
*/
|
|
98
|
+
readonly semanticPartialResponseType?: SemanticSearchResultsType;
|
|
99
|
+
}
|
|
100
|
+
/** A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval. */
|
|
101
|
+
export interface FacetResult {
|
|
102
|
+
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
|
103
|
+
[property: string]: any;
|
|
104
|
+
/**
|
|
105
|
+
* The approximate count of documents falling within the bucket described by this facet.
|
|
106
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
107
|
+
*/
|
|
108
|
+
readonly count?: number;
|
|
109
|
+
}
|
|
110
|
+
/** An answer is a text passage extracted from the contents of the most relevant documents that matched the query. Answers are extracted from the top search results. Answer candidates are scored and the top answers are selected. */
|
|
111
|
+
export interface QueryAnswerResult {
|
|
112
|
+
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
|
113
|
+
[property: string]: any;
|
|
114
|
+
/**
|
|
115
|
+
* The score value represents how relevant the answer is to the query relative to other answers returned for the query.
|
|
116
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
117
|
+
*/
|
|
118
|
+
readonly score: number;
|
|
119
|
+
/**
|
|
120
|
+
* The key of the document the answer was extracted from.
|
|
121
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
122
|
+
*/
|
|
123
|
+
readonly key: string;
|
|
124
|
+
/**
|
|
125
|
+
* The text passage extracted from the document contents as the answer.
|
|
126
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
127
|
+
*/
|
|
128
|
+
readonly text: string;
|
|
129
|
+
/**
|
|
130
|
+
* Same text passage as in the Text property with highlighted text phrases most relevant to the query.
|
|
131
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
132
|
+
*/
|
|
133
|
+
readonly highlights?: string;
|
|
134
|
+
}
|
|
135
|
+
/** Parameters for filtering, sorting, faceting, paging, and other search query behaviors. */
|
|
136
|
+
export interface SearchRequest {
|
|
137
|
+
/** A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation. */
|
|
138
|
+
includeTotalResultCount?: boolean;
|
|
139
|
+
/** The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs. */
|
|
140
|
+
facets?: string[];
|
|
141
|
+
/** The OData $filter expression to apply to the search query. */
|
|
142
|
+
filter?: string;
|
|
143
|
+
/** The comma-separated list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting. */
|
|
144
|
+
highlightFields?: string;
|
|
145
|
+
/** A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>. */
|
|
146
|
+
highlightPostTag?: string;
|
|
147
|
+
/** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>. */
|
|
148
|
+
highlightPreTag?: string;
|
|
149
|
+
/** A number between 0 and 100 indicating the percentage of the index that must be covered by a search query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100. */
|
|
150
|
+
minimumCoverage?: number;
|
|
151
|
+
/** The comma-separated list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses. */
|
|
152
|
+
orderBy?: string;
|
|
153
|
+
/** A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax. */
|
|
154
|
+
queryType?: QueryType;
|
|
155
|
+
/** A value that specifies whether we want to calculate scoring statistics (such as document frequency) globally for more consistent scoring, or locally, for lower latency. The default is 'local'. Use 'global' to aggregate scoring statistics globally before scoring. Using global scoring statistics can increase latency of search queries. */
|
|
156
|
+
scoringStatistics?: ScoringStatistics;
|
|
157
|
+
/** A value to be used to create a sticky session, which can help getting more consistent results. As long as the same sessionId is used, a best-effort attempt will be made to target the same replica set. Be wary that reusing the same sessionID values repeatedly can interfere with the load balancing of the requests across replicas and adversely affect the performance of the search service. The value used as sessionId cannot start with a '_' character. */
|
|
158
|
+
sessionId?: string;
|
|
159
|
+
/** The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be "mylocation--122.2,44.8" (without the quotes). */
|
|
160
|
+
scoringParameters?: string[];
|
|
161
|
+
/** The name of a scoring profile to evaluate match scores for matching documents in order to sort the results. */
|
|
162
|
+
scoringProfile?: string;
|
|
163
|
+
/** Enables a debugging tool that can be used to further explore your reranked results. */
|
|
164
|
+
debug?: QueryDebugMode;
|
|
165
|
+
/** A full-text search query expression; Use "*" or omit this parameter to match all documents. */
|
|
166
|
+
searchText?: string;
|
|
167
|
+
/** The comma-separated list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter. */
|
|
168
|
+
searchFields?: string;
|
|
169
|
+
/** A value that specifies whether any or all of the search terms must be matched in order to count the document as a match. */
|
|
170
|
+
searchMode?: SearchMode;
|
|
171
|
+
/** The comma-separated list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included. */
|
|
172
|
+
select?: string;
|
|
173
|
+
/** The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use skip due to this limitation, consider using orderby on a totally-ordered key and filter with a range query instead. */
|
|
174
|
+
skip?: number;
|
|
175
|
+
/** The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results. */
|
|
176
|
+
top?: number;
|
|
177
|
+
/** The name of a semantic configuration that will be used when processing documents for queries of type semantic. */
|
|
178
|
+
semanticConfigurationName?: string;
|
|
179
|
+
/** Allows the user to choose whether a semantic call should fail completely (default / current behavior), or to return partial results. */
|
|
180
|
+
semanticErrorHandling?: SemanticErrorMode;
|
|
181
|
+
/** Allows the user to set an upper bound on the amount of time it takes for semantic enrichment to finish processing before the request fails. */
|
|
182
|
+
semanticMaxWaitInMilliseconds?: number;
|
|
183
|
+
/** Allows setting a separate search query that will be solely used for semantic reranking, semantic captions and semantic answers. Is useful for scenarios where there is a need to use different queries between the base retrieval and ranking phase, and the L2 semantic phase. */
|
|
184
|
+
semanticQuery?: string;
|
|
185
|
+
/** A value that specifies whether answers should be returned as part of the search response. */
|
|
186
|
+
answers?: QueryAnswerType;
|
|
187
|
+
/** A value that specifies whether captions should be returned as part of the search response. */
|
|
188
|
+
captions?: QueryCaptionType;
|
|
189
|
+
/** The query parameters for vector and hybrid search queries. */
|
|
190
|
+
vectorQueries?: VectorQueryUnion[];
|
|
191
|
+
/** Determines whether or not filters are applied before or after the vector search is performed. Default is 'preFilter' for new indexes. */
|
|
192
|
+
vectorFilterMode?: VectorFilterMode;
|
|
193
|
+
}
|
|
194
|
+
/** The query parameters for vector and hybrid search queries. */
|
|
195
|
+
export interface VectorQuery {
|
|
196
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
197
|
+
kind: "vector" | "text";
|
|
198
|
+
/** Number of nearest neighbors to return as top hits. */
|
|
199
|
+
kNearestNeighborsCount?: number;
|
|
200
|
+
/** Vector Fields of type Collection(Edm.Single) to be included in the vector searched. */
|
|
201
|
+
fields?: string;
|
|
202
|
+
/** When true, triggers an exhaustive k-nearest neighbor search across all vectors within the vector index. Useful for scenarios where exact matches are critical, such as determining ground truth values. */
|
|
203
|
+
exhaustive?: boolean;
|
|
204
|
+
/** Oversampling factor. Minimum value is 1. It overrides the 'defaultOversampling' parameter configured in the index definition. It can be set only when 'rerankWithOriginalVectors' is true. This parameter is only permitted when a compression method is used on the underlying vector field. */
|
|
205
|
+
oversampling?: number;
|
|
206
|
+
/** Relative weight of the vector query when compared to other vector query and/or the text query within the same search request. This value is used when combining the results of multiple ranking lists produced by the different vector queries and/or the results retrieved through the text query. The higher the weight, the higher the documents that matched that query will be in the final ranking. Default is 1.0 and the value needs to be a positive number larger than zero. */
|
|
207
|
+
weight?: number;
|
|
208
|
+
}
|
|
209
|
+
/** Contains a document found by a search query, plus associated metadata. */
|
|
210
|
+
export interface SearchResult {
|
|
211
|
+
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
|
212
|
+
[property: string]: any;
|
|
213
|
+
/**
|
|
214
|
+
* The relevance score of the document compared to other documents returned by the query.
|
|
215
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
216
|
+
*/
|
|
217
|
+
readonly _score: number;
|
|
218
|
+
/**
|
|
219
|
+
* The relevance score computed by the semantic ranker for the top search results. Search results are sorted by the RerankerScore first and then by the Score. RerankerScore is only returned for queries of type 'semantic'.
|
|
220
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
221
|
+
*/
|
|
222
|
+
readonly _rerankerScore?: number;
|
|
223
|
+
/**
|
|
224
|
+
* The relevance score computed by boosting the Reranker Score. Search results are sorted by the RerankerScore/RerankerBoostedScore based on useScoringProfileBoostedRanking in the Semantic Config. RerankerBoostedScore is only returned for queries of type 'semantic'
|
|
225
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
226
|
+
*/
|
|
227
|
+
readonly rerankerBoostedScore?: number;
|
|
228
|
+
/**
|
|
229
|
+
* Text fragments from the document that indicate the matching search terms, organized by each applicable field; null if hit highlighting was not enabled for the query.
|
|
230
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
231
|
+
*/
|
|
232
|
+
readonly _highlights?: {
|
|
233
|
+
[propertyName: string]: string[];
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* Captions are the most representative passages from the document relatively to the search query. They are often used as document summary. Captions are only returned for queries of type 'semantic'.
|
|
237
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
238
|
+
*/
|
|
239
|
+
readonly _captions?: QueryCaptionResult[];
|
|
240
|
+
/**
|
|
241
|
+
* Contains debugging information that can be used to further explore your search results.
|
|
242
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
243
|
+
*/
|
|
244
|
+
readonly documentDebugInfo?: DocumentDebugInfo;
|
|
245
|
+
}
|
|
246
|
+
/** Captions are the most representative passages from the document relatively to the search query. They are often used as document summary. Captions are only returned for queries of type `semantic`. */
|
|
247
|
+
export interface QueryCaptionResult {
|
|
248
|
+
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
|
249
|
+
[property: string]: any;
|
|
250
|
+
/**
|
|
251
|
+
* A representative text passage extracted from the document most relevant to the search query.
|
|
252
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
253
|
+
*/
|
|
254
|
+
readonly text?: string;
|
|
255
|
+
/**
|
|
256
|
+
* Same text passage as in the Text property with highlighted phrases most relevant to the query.
|
|
257
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
258
|
+
*/
|
|
259
|
+
readonly highlights?: string;
|
|
260
|
+
}
|
|
261
|
+
/** Contains debugging information that can be used to further explore your search results. */
|
|
262
|
+
export interface DocumentDebugInfo {
|
|
263
|
+
/**
|
|
264
|
+
* Contains debugging information specific to vector and hybrid search.
|
|
265
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
266
|
+
*/
|
|
267
|
+
readonly vectors?: VectorsDebugInfo;
|
|
268
|
+
}
|
|
269
|
+
export interface VectorsDebugInfo {
|
|
270
|
+
/**
|
|
271
|
+
* The breakdown of subscores of the document prior to the chosen result set fusion/combination method such as RRF.
|
|
272
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
273
|
+
*/
|
|
274
|
+
readonly subscores?: QueryResultDocumentSubscores;
|
|
275
|
+
}
|
|
276
|
+
/** The breakdown of subscores between the text and vector query components of the search query for this document. Each vector query is shown as a separate object in the same order they were received. */
|
|
277
|
+
export interface QueryResultDocumentSubscores {
|
|
278
|
+
/**
|
|
279
|
+
* The BM25 or Classic score for the text portion of the query.
|
|
280
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
281
|
+
*/
|
|
282
|
+
readonly text?: TextResult;
|
|
283
|
+
/**
|
|
284
|
+
* The vector similarity and @search.score values for each vector query.
|
|
285
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
286
|
+
*/
|
|
287
|
+
readonly vectors?: {
|
|
288
|
+
[propertyName: string]: SingleVectorFieldResult;
|
|
289
|
+
}[];
|
|
290
|
+
/**
|
|
291
|
+
* The BM25 or Classic score for the text portion of the query.
|
|
292
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
293
|
+
*/
|
|
294
|
+
readonly documentBoost?: number;
|
|
295
|
+
}
|
|
296
|
+
/** The BM25 or Classic score for the text portion of the query. */
|
|
297
|
+
export interface TextResult {
|
|
298
|
+
/**
|
|
299
|
+
* The BM25 or Classic score for the text portion of the query.
|
|
300
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
301
|
+
*/
|
|
302
|
+
readonly searchScore?: number;
|
|
303
|
+
}
|
|
304
|
+
/** A single vector field result. Both @search.score and vector similarity values are returned. Vector similarity is related to @search.score by an equation. */
|
|
305
|
+
export interface SingleVectorFieldResult {
|
|
306
|
+
/**
|
|
307
|
+
* The @search.score value that is calculated from the vector similarity score. This is the score that's visible in a pure single-field single-vector query.
|
|
308
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
309
|
+
*/
|
|
310
|
+
readonly searchScore?: number;
|
|
311
|
+
/**
|
|
312
|
+
* The vector similarity score for this document. Note this is the canonical definition of similarity metric, not the 'distance' version. For example, cosine similarity instead of cosine distance.
|
|
313
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
314
|
+
*/
|
|
315
|
+
readonly vectorSimilarity?: number;
|
|
316
|
+
}
|
|
317
|
+
/** Response containing suggestion query results from an index. */
|
|
318
|
+
export interface SuggestDocumentsResult {
|
|
319
|
+
/**
|
|
320
|
+
* The sequence of results returned by the query.
|
|
321
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
322
|
+
*/
|
|
323
|
+
readonly results: SuggestResult[];
|
|
324
|
+
/**
|
|
325
|
+
* A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not set in the request.
|
|
326
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
327
|
+
*/
|
|
328
|
+
readonly coverage?: number;
|
|
329
|
+
}
|
|
330
|
+
/** A result containing a document found by a suggestion query, plus associated metadata. */
|
|
331
|
+
export interface SuggestResult {
|
|
332
|
+
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
|
333
|
+
[property: string]: any;
|
|
334
|
+
/**
|
|
335
|
+
* The text of the suggestion result.
|
|
336
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
337
|
+
*/
|
|
338
|
+
readonly _text: string;
|
|
339
|
+
}
|
|
340
|
+
/** Parameters for filtering, sorting, fuzzy matching, and other suggestions query behaviors. */
|
|
341
|
+
export interface SuggestRequest {
|
|
342
|
+
/** An OData expression that filters the documents considered for suggestions. */
|
|
343
|
+
filter?: string;
|
|
344
|
+
/** A value indicating whether to use fuzzy matching for the suggestion query. Default is false. When set to true, the query will find suggestions even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy suggestion searches are slower and consume more resources. */
|
|
345
|
+
useFuzzyMatching?: boolean;
|
|
346
|
+
/** A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting of suggestions is disabled. */
|
|
347
|
+
highlightPostTag?: string;
|
|
348
|
+
/** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting of suggestions is disabled. */
|
|
349
|
+
highlightPreTag?: string;
|
|
350
|
+
/** A number between 0 and 100 indicating the percentage of the index that must be covered by a suggestion query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80. */
|
|
351
|
+
minimumCoverage?: number;
|
|
352
|
+
/** The comma-separated list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses. */
|
|
353
|
+
orderBy?: string;
|
|
354
|
+
/** The search text to use to suggest documents. Must be at least 1 character, and no more than 100 characters. */
|
|
355
|
+
searchText: string;
|
|
356
|
+
/** The comma-separated list of field names to search for the specified search text. Target fields must be included in the specified suggester. */
|
|
357
|
+
searchFields?: string;
|
|
358
|
+
/** The comma-separated list of fields to retrieve. If unspecified, only the key field will be included in the results. */
|
|
359
|
+
select?: string;
|
|
360
|
+
/** The name of the suggester as specified in the suggesters collection that's part of the index definition. */
|
|
361
|
+
suggesterName: string;
|
|
362
|
+
/** The number of suggestions to retrieve. This must be a value between 1 and 100. The default is 5. */
|
|
363
|
+
top?: number;
|
|
364
|
+
}
|
|
365
|
+
/** Contains a batch of document write actions to send to the index. */
|
|
366
|
+
export interface IndexBatch {
|
|
367
|
+
/** The actions in the batch. */
|
|
368
|
+
actions: IndexAction[];
|
|
369
|
+
}
|
|
370
|
+
/** Represents an index action that operates on a document. */
|
|
371
|
+
export interface IndexAction {
|
|
372
|
+
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
|
373
|
+
[property: string]: any;
|
|
374
|
+
/** The operation to perform on a document in an indexing batch. */
|
|
375
|
+
__actionType: IndexActionType;
|
|
376
|
+
}
|
|
377
|
+
/** Response containing the status of operations for all documents in the indexing request. */
|
|
378
|
+
export interface IndexDocumentsResult {
|
|
379
|
+
/**
|
|
380
|
+
* The list of status information for each document in the indexing request.
|
|
381
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
382
|
+
*/
|
|
383
|
+
readonly results: IndexingResult[];
|
|
384
|
+
}
|
|
385
|
+
/** Status of an indexing operation for a single document. */
|
|
386
|
+
export interface IndexingResult {
|
|
387
|
+
/**
|
|
388
|
+
* The key of a document that was in the indexing request.
|
|
389
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
390
|
+
*/
|
|
391
|
+
readonly key: string;
|
|
392
|
+
/**
|
|
393
|
+
* The error message explaining why the indexing operation failed for the document identified by the key; null if indexing succeeded.
|
|
394
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
395
|
+
*/
|
|
396
|
+
readonly errorMessage?: string;
|
|
397
|
+
/**
|
|
398
|
+
* A value indicating whether the indexing operation succeeded for the document identified by the key.
|
|
399
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
400
|
+
*/
|
|
401
|
+
readonly succeeded: boolean;
|
|
402
|
+
/**
|
|
403
|
+
* The status code of the indexing operation. Possible values include: 200 for a successful update or delete, 201 for successful document creation, 400 for a malformed input document, 404 for document not found, 409 for a version conflict, 422 when the index is temporarily unavailable, or 503 for when the service is too busy.
|
|
404
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
405
|
+
*/
|
|
406
|
+
readonly statusCode: number;
|
|
407
|
+
}
|
|
408
|
+
/** The result of Autocomplete query. */
|
|
409
|
+
export interface AutocompleteResult {
|
|
410
|
+
/**
|
|
411
|
+
* A value indicating the percentage of the index that was considered by the autocomplete request, or null if minimumCoverage was not specified in the request.
|
|
412
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
413
|
+
*/
|
|
414
|
+
readonly coverage?: number;
|
|
415
|
+
/**
|
|
416
|
+
* The list of returned Autocompleted items.
|
|
417
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
418
|
+
*/
|
|
419
|
+
readonly results: AutocompleteItem[];
|
|
420
|
+
}
|
|
421
|
+
/** The result of Autocomplete requests. */
|
|
422
|
+
export interface AutocompleteItem {
|
|
423
|
+
/**
|
|
424
|
+
* The completed term.
|
|
425
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
426
|
+
*/
|
|
427
|
+
readonly text: string;
|
|
428
|
+
/**
|
|
429
|
+
* The query along with the completed term.
|
|
430
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
431
|
+
*/
|
|
432
|
+
readonly queryPlusText: string;
|
|
433
|
+
}
|
|
434
|
+
/** Parameters for fuzzy matching, and other autocomplete query behaviors. */
|
|
435
|
+
export interface AutocompleteRequest {
|
|
436
|
+
/** The search text on which to base autocomplete results. */
|
|
437
|
+
searchText: string;
|
|
438
|
+
/** Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms. */
|
|
439
|
+
autocompleteMode?: AutocompleteMode;
|
|
440
|
+
/** An OData expression that filters the documents used to produce completed terms for the Autocomplete result. */
|
|
441
|
+
filter?: string;
|
|
442
|
+
/** A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will autocomplete terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are slower and consume more resources. */
|
|
443
|
+
useFuzzyMatching?: boolean;
|
|
444
|
+
/** A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled. */
|
|
445
|
+
highlightPostTag?: string;
|
|
446
|
+
/** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled. */
|
|
447
|
+
highlightPreTag?: string;
|
|
448
|
+
/** A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80. */
|
|
449
|
+
minimumCoverage?: number;
|
|
450
|
+
/** The comma-separated list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester. */
|
|
451
|
+
searchFields?: string;
|
|
452
|
+
/** The name of the suggester as specified in the suggesters collection that's part of the index definition. */
|
|
453
|
+
suggesterName: string;
|
|
454
|
+
/** The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5. */
|
|
455
|
+
top?: number;
|
|
456
|
+
}
|
|
457
|
+
/** The query parameters to use for vector search when a raw vector value is provided. */
|
|
458
|
+
export interface VectorizedQuery extends VectorQuery {
|
|
459
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
460
|
+
kind: "vector";
|
|
461
|
+
/** The vector representation of a search query. */
|
|
462
|
+
vector: number[];
|
|
463
|
+
}
|
|
464
|
+
/** The query parameters to use for vector search when a text value that needs to be vectorized is provided. */
|
|
465
|
+
export interface VectorizableTextQuery extends VectorQuery {
|
|
466
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
467
|
+
kind: "text";
|
|
468
|
+
/** The text to be vectorized to perform a vector search query. */
|
|
469
|
+
text: string;
|
|
470
|
+
}
|
|
471
|
+
/** Parameter group */
|
|
472
|
+
export interface SearchOptions {
|
|
473
|
+
/** A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation. */
|
|
474
|
+
includeTotalResultCount?: boolean;
|
|
475
|
+
/** The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs. */
|
|
476
|
+
facets?: string[];
|
|
477
|
+
/** The OData $filter expression to apply to the search query. */
|
|
478
|
+
filter?: string;
|
|
479
|
+
/** The list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting. */
|
|
480
|
+
highlightFields?: string[];
|
|
481
|
+
/** A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>. */
|
|
482
|
+
highlightPostTag?: string;
|
|
483
|
+
/** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>. */
|
|
484
|
+
highlightPreTag?: string;
|
|
485
|
+
/** A number between 0 and 100 indicating the percentage of the index that must be covered by a search query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100. */
|
|
486
|
+
minimumCoverage?: number;
|
|
487
|
+
/** The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no OrderBy is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses. */
|
|
488
|
+
orderBy?: string[];
|
|
489
|
+
/** A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax. */
|
|
490
|
+
queryType?: QueryType;
|
|
491
|
+
/** The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be "mylocation--122.2,44.8" (without the quotes). */
|
|
492
|
+
scoringParameters?: string[];
|
|
493
|
+
/** The name of a scoring profile to evaluate match scores for matching documents in order to sort the results. */
|
|
494
|
+
scoringProfile?: string;
|
|
495
|
+
/** The list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter. */
|
|
496
|
+
searchFields?: string[];
|
|
497
|
+
/** A value that specifies whether any or all of the search terms must be matched in order to count the document as a match. */
|
|
498
|
+
searchMode?: SearchMode;
|
|
499
|
+
/** A value that specifies whether we want to calculate scoring statistics (such as document frequency) globally for more consistent scoring, or locally, for lower latency. */
|
|
500
|
+
scoringStatistics?: ScoringStatistics;
|
|
501
|
+
/** A value to be used to create a sticky session, which can help to get more consistent results. As long as the same sessionId is used, a best-effort attempt will be made to target the same replica set. Be wary that reusing the same sessionID values repeatedly can interfere with the load balancing of the requests across replicas and adversely affect the performance of the search service. The value used as sessionId cannot start with a '_' character. */
|
|
502
|
+
sessionId?: string;
|
|
503
|
+
/** The list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included. */
|
|
504
|
+
select?: string[];
|
|
505
|
+
/** The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use $skip due to this limitation, consider using $orderby on a totally-ordered key and $filter with a range query instead. */
|
|
506
|
+
skip?: number;
|
|
507
|
+
/** The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results. */
|
|
508
|
+
top?: number;
|
|
509
|
+
/** The name of the semantic configuration that lists which fields should be used for semantic ranking, captions, highlights, and answers */
|
|
510
|
+
semanticConfiguration?: string;
|
|
511
|
+
/** Allows the user to choose whether a semantic call should fail completely, or to return partial results (default). */
|
|
512
|
+
semanticErrorHandling?: SemanticErrorMode;
|
|
513
|
+
/** Allows the user to set an upper bound on the amount of time it takes for semantic enrichment to finish processing before the request fails. */
|
|
514
|
+
semanticMaxWaitInMilliseconds?: number;
|
|
515
|
+
/** This parameter is only valid if the query type is `semantic`. If set, the query returns answers extracted from key passages in the highest ranked documents. The number of answers returned can be configured by appending the pipe character `|` followed by the `count-<number of answers>` option after the answers parameter value, such as `extractive|count-3`. Default count is 1. The confidence threshold can be configured by appending the pipe character `|` followed by the `threshold-<confidence threshold>` option after the answers parameter value, such as `extractive|threshold-0.9`. Default threshold is 0.7. */
|
|
516
|
+
answers?: QueryAnswerType;
|
|
517
|
+
/** This parameter is only valid if the query type is `semantic`. If set, the query returns captions extracted from key passages in the highest ranked documents. When Captions is set to `extractive`, highlighting is enabled by default, and can be configured by appending the pipe character `|` followed by the `highlight-<true/false>` option, such as `extractive|highlight-true`. Defaults to `None`. */
|
|
518
|
+
captions?: QueryCaptionType;
|
|
519
|
+
/** Allows setting a separate search query that will be solely used for semantic reranking, semantic captions and semantic answers. Is useful for scenarios where there is a need to use different queries between the base retrieval and ranking phase, and the L2 semantic phase. */
|
|
520
|
+
semanticQuery?: string;
|
|
521
|
+
/** Enables a debugging tool that can be used to further explore your search results. */
|
|
522
|
+
debug?: QueryDebugMode;
|
|
523
|
+
}
|
|
524
|
+
/** Parameter group */
|
|
525
|
+
export interface SuggestOptions {
|
|
526
|
+
/** An OData expression that filters the documents considered for suggestions. */
|
|
527
|
+
filter?: string;
|
|
528
|
+
/** A value indicating whether to use fuzzy matching for the suggestions query. Default is false. When set to true, the query will find terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy suggestions queries are slower and consume more resources. */
|
|
529
|
+
useFuzzyMatching?: boolean;
|
|
530
|
+
/** A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting of suggestions is disabled. */
|
|
531
|
+
highlightPostTag?: string;
|
|
532
|
+
/** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting of suggestions is disabled. */
|
|
533
|
+
highlightPreTag?: string;
|
|
534
|
+
/** A number between 0 and 100 indicating the percentage of the index that must be covered by a suggestions query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80. */
|
|
535
|
+
minimumCoverage?: number;
|
|
536
|
+
/** The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses. */
|
|
537
|
+
orderBy?: string[];
|
|
538
|
+
/** The list of field names to search for the specified search text. Target fields must be included in the specified suggester. */
|
|
539
|
+
searchFields?: string[];
|
|
540
|
+
/** The list of fields to retrieve. If unspecified, only the key field will be included in the results. */
|
|
541
|
+
select?: string[];
|
|
542
|
+
/** The number of suggestions to retrieve. The value must be a number between 1 and 100. The default is 5. */
|
|
543
|
+
top?: number;
|
|
544
|
+
}
|
|
545
|
+
/** Parameter group */
|
|
546
|
+
export interface AutocompleteOptions {
|
|
547
|
+
/** Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms. */
|
|
548
|
+
autocompleteMode?: AutocompleteMode;
|
|
549
|
+
/** An OData expression that filters the documents used to produce completed terms for the Autocomplete result. */
|
|
550
|
+
filter?: string;
|
|
551
|
+
/** A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will find terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are slower and consume more resources. */
|
|
552
|
+
useFuzzyMatching?: boolean;
|
|
553
|
+
/** A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled. */
|
|
554
|
+
highlightPostTag?: string;
|
|
555
|
+
/** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled. */
|
|
556
|
+
highlightPreTag?: string;
|
|
557
|
+
/** A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80. */
|
|
558
|
+
minimumCoverage?: number;
|
|
559
|
+
/** The list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester. */
|
|
560
|
+
searchFields?: string[];
|
|
561
|
+
/** The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5. */
|
|
562
|
+
top?: number;
|
|
563
|
+
}
|
|
564
|
+
/** Known values of {@link ApiVersion20250901} that the service accepts. */
|
|
565
|
+
export declare enum KnownApiVersion20250901 {
|
|
566
|
+
/** Api Version '2025-09-01' */
|
|
567
|
+
TwoThousandTwentyFive0901 = "2025-09-01"
|
|
568
|
+
}
|
|
569
|
+
/**
|
|
570
|
+
* Defines values for ApiVersion20250901. \
|
|
571
|
+
* {@link KnownApiVersion20250901} can be used interchangeably with ApiVersion20250901,
|
|
572
|
+
* this enum contains the known values that the service supports.
|
|
573
|
+
* ### Known values supported by the service
|
|
574
|
+
* **2025-09-01**: Api Version '2025-09-01'
|
|
575
|
+
*/
|
|
576
|
+
export type ApiVersion20250901 = string;
|
|
577
|
+
/** Known values of {@link SemanticErrorMode} that the service accepts. */
|
|
578
|
+
export declare enum KnownSemanticErrorMode {
|
|
579
|
+
/** If the semantic processing fails, partial results still return. The definition of partial results depends on what semantic step failed and what was the reason for failure. */
|
|
580
|
+
Partial = "partial",
|
|
581
|
+
/** If there is an exception during the semantic processing step, the query will fail and return the appropriate HTTP code depending on the error. */
|
|
582
|
+
Fail = "fail"
|
|
583
|
+
}
|
|
584
|
+
/**
|
|
585
|
+
* Defines values for SemanticErrorMode. \
|
|
586
|
+
* {@link KnownSemanticErrorMode} can be used interchangeably with SemanticErrorMode,
|
|
587
|
+
* this enum contains the known values that the service supports.
|
|
588
|
+
* ### Known values supported by the service
|
|
589
|
+
* **partial**: If the semantic processing fails, partial results still return. The definition of partial results depends on what semantic step failed and what was the reason for failure. \
|
|
590
|
+
* **fail**: If there is an exception during the semantic processing step, the query will fail and return the appropriate HTTP code depending on the error.
|
|
591
|
+
*/
|
|
592
|
+
export type SemanticErrorMode = string;
|
|
593
|
+
/** Known values of {@link QueryAnswerType} that the service accepts. */
|
|
594
|
+
export declare enum KnownQueryAnswerType {
|
|
595
|
+
/** Do not return answers for the query. */
|
|
596
|
+
None = "none",
|
|
597
|
+
/** Extracts answer candidates from the contents of the documents returned in response to a query expressed as a question in natural language. */
|
|
598
|
+
Extractive = "extractive"
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* Defines values for QueryAnswerType. \
|
|
602
|
+
* {@link KnownQueryAnswerType} can be used interchangeably with QueryAnswerType,
|
|
603
|
+
* this enum contains the known values that the service supports.
|
|
604
|
+
* ### Known values supported by the service
|
|
605
|
+
* **none**: Do not return answers for the query. \
|
|
606
|
+
* **extractive**: Extracts answer candidates from the contents of the documents returned in response to a query expressed as a question in natural language.
|
|
607
|
+
*/
|
|
608
|
+
export type QueryAnswerType = string;
|
|
609
|
+
/** Known values of {@link QueryCaptionType} that the service accepts. */
|
|
610
|
+
export declare enum KnownQueryCaptionType {
|
|
611
|
+
/** Do not return captions for the query. */
|
|
612
|
+
None = "none",
|
|
613
|
+
/** Extracts captions from the matching documents that contain passages relevant to the search query. */
|
|
614
|
+
Extractive = "extractive"
|
|
615
|
+
}
|
|
616
|
+
/**
|
|
617
|
+
* Defines values for QueryCaptionType. \
|
|
618
|
+
* {@link KnownQueryCaptionType} can be used interchangeably with QueryCaptionType,
|
|
619
|
+
* this enum contains the known values that the service supports.
|
|
620
|
+
* ### Known values supported by the service
|
|
621
|
+
* **none**: Do not return captions for the query. \
|
|
622
|
+
* **extractive**: Extracts captions from the matching documents that contain passages relevant to the search query.
|
|
623
|
+
*/
|
|
624
|
+
export type QueryCaptionType = string;
|
|
625
|
+
/** Known values of {@link QueryDebugMode} that the service accepts. */
|
|
626
|
+
export declare enum KnownQueryDebugMode {
|
|
627
|
+
/** No query debugging information will be returned. */
|
|
628
|
+
Disabled = "disabled",
|
|
629
|
+
/** Allows the user to further explore their hybrid and vector query results. */
|
|
630
|
+
Vector = "vector"
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* Defines values for QueryDebugMode. \
|
|
634
|
+
* {@link KnownQueryDebugMode} can be used interchangeably with QueryDebugMode,
|
|
635
|
+
* this enum contains the known values that the service supports.
|
|
636
|
+
* ### Known values supported by the service
|
|
637
|
+
* **disabled**: No query debugging information will be returned. \
|
|
638
|
+
* **vector**: Allows the user to further explore their hybrid and vector query results.
|
|
639
|
+
*/
|
|
640
|
+
export type QueryDebugMode = string;
|
|
641
|
+
/** Known values of {@link VectorQueryKind} that the service accepts. */
|
|
642
|
+
export declare enum KnownVectorQueryKind {
|
|
643
|
+
/** Vector query where a raw vector value is provided. */
|
|
644
|
+
Vector = "vector",
|
|
645
|
+
/** Vector query where a text value that needs to be vectorized is provided. */
|
|
646
|
+
Text = "text"
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* Defines values for VectorQueryKind. \
|
|
650
|
+
* {@link KnownVectorQueryKind} can be used interchangeably with VectorQueryKind,
|
|
651
|
+
* this enum contains the known values that the service supports.
|
|
652
|
+
* ### Known values supported by the service
|
|
653
|
+
* **vector**: Vector query where a raw vector value is provided. \
|
|
654
|
+
* **text**: Vector query where a text value that needs to be vectorized is provided.
|
|
655
|
+
*/
|
|
656
|
+
export type VectorQueryKind = string;
|
|
657
|
+
/** Known values of {@link VectorFilterMode} that the service accepts. */
|
|
658
|
+
export declare enum KnownVectorFilterMode {
|
|
659
|
+
/** The filter will be applied after the candidate set of vector results is returned. Depending on the filter selectivity, this can result in fewer results than requested by the parameter 'k'. */
|
|
660
|
+
PostFilter = "postFilter",
|
|
661
|
+
/** The filter will be applied before the search query. */
|
|
662
|
+
PreFilter = "preFilter"
|
|
663
|
+
}
|
|
664
|
+
/**
|
|
665
|
+
* Defines values for VectorFilterMode. \
|
|
666
|
+
* {@link KnownVectorFilterMode} can be used interchangeably with VectorFilterMode,
|
|
667
|
+
* this enum contains the known values that the service supports.
|
|
668
|
+
* ### Known values supported by the service
|
|
669
|
+
* **postFilter**: The filter will be applied after the candidate set of vector results is returned. Depending on the filter selectivity, this can result in fewer results than requested by the parameter 'k'. \
|
|
670
|
+
* **preFilter**: The filter will be applied before the search query.
|
|
671
|
+
*/
|
|
672
|
+
export type VectorFilterMode = string;
|
|
673
|
+
/** Known values of {@link SemanticErrorReason} that the service accepts. */
|
|
674
|
+
export declare enum KnownSemanticErrorReason {
|
|
675
|
+
/** If `semanticMaxWaitInMilliseconds` was set and the semantic processing duration exceeded that value. Only the base results were returned. */
|
|
676
|
+
MaxWaitExceeded = "maxWaitExceeded",
|
|
677
|
+
/** The request was throttled. Only the base results were returned. */
|
|
678
|
+
CapacityOverloaded = "capacityOverloaded",
|
|
679
|
+
/** At least one step of the semantic process failed. */
|
|
680
|
+
Transient = "transient"
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* Defines values for SemanticErrorReason. \
|
|
684
|
+
* {@link KnownSemanticErrorReason} can be used interchangeably with SemanticErrorReason,
|
|
685
|
+
* this enum contains the known values that the service supports.
|
|
686
|
+
* ### Known values supported by the service
|
|
687
|
+
* **maxWaitExceeded**: If `semanticMaxWaitInMilliseconds` was set and the semantic processing duration exceeded that value. Only the base results were returned. \
|
|
688
|
+
* **capacityOverloaded**: The request was throttled. Only the base results were returned. \
|
|
689
|
+
* **transient**: At least one step of the semantic process failed.
|
|
690
|
+
*/
|
|
691
|
+
export type SemanticErrorReason = string;
|
|
692
|
+
/** Known values of {@link SemanticSearchResultsType} that the service accepts. */
|
|
693
|
+
export declare enum KnownSemanticSearchResultsType {
|
|
694
|
+
/** Results without any semantic enrichment or reranking. */
|
|
695
|
+
BaseResults = "baseResults",
|
|
696
|
+
/** Results have been reranked with the reranker model and will include semantic captions. They will not include any answers, answers highlights or caption highlights. */
|
|
697
|
+
RerankedResults = "rerankedResults"
|
|
698
|
+
}
|
|
699
|
+
/**
|
|
700
|
+
* Defines values for SemanticSearchResultsType. \
|
|
701
|
+
* {@link KnownSemanticSearchResultsType} can be used interchangeably with SemanticSearchResultsType,
|
|
702
|
+
* this enum contains the known values that the service supports.
|
|
703
|
+
* ### Known values supported by the service
|
|
704
|
+
* **baseResults**: Results without any semantic enrichment or reranking. \
|
|
705
|
+
* **rerankedResults**: Results have been reranked with the reranker model and will include semantic captions. They will not include any answers, answers highlights or caption highlights.
|
|
706
|
+
*/
|
|
707
|
+
export type SemanticSearchResultsType = string;
|
|
708
|
+
/** Defines values for QueryType. */
|
|
709
|
+
export type QueryType = "simple" | "full" | "semantic";
|
|
710
|
+
/** Defines values for SearchMode. */
|
|
711
|
+
export type SearchMode = "any" | "all";
|
|
712
|
+
/** Defines values for ScoringStatistics. */
|
|
713
|
+
export type ScoringStatistics = "local" | "global";
|
|
714
|
+
/** Defines values for IndexActionType. */
|
|
715
|
+
export type IndexActionType = "upload" | "merge" | "mergeOrUpload" | "delete";
|
|
716
|
+
/** Defines values for AutocompleteMode. */
|
|
717
|
+
export type AutocompleteMode = "oneTerm" | "twoTerms" | "oneTermWithContext";
|
|
718
|
+
/** Optional parameters. */
|
|
719
|
+
export interface DocumentsCountOptionalParams extends coreClient.OperationOptions {
|
|
720
|
+
}
|
|
721
|
+
/** Contains response data for the count operation. */
|
|
722
|
+
export type DocumentsCountResponse = {
|
|
723
|
+
/** The parsed response body. */
|
|
724
|
+
body: number;
|
|
725
|
+
};
|
|
726
|
+
/** Optional parameters. */
|
|
727
|
+
export interface DocumentsSearchGetOptionalParams extends coreClient.OperationOptions {
|
|
728
|
+
/** Parameter group */
|
|
729
|
+
searchOptions?: SearchOptions;
|
|
730
|
+
/** A full-text search query expression; Use "*" or omit this parameter to match all documents. */
|
|
731
|
+
searchText?: string;
|
|
732
|
+
}
|
|
733
|
+
/** Contains response data for the searchGet operation. */
|
|
734
|
+
export type DocumentsSearchGetResponse = SearchDocumentsResult;
|
|
735
|
+
/** Optional parameters. */
|
|
736
|
+
export interface DocumentsSearchPostOptionalParams extends coreClient.OperationOptions {
|
|
737
|
+
}
|
|
738
|
+
/** Contains response data for the searchPost operation. */
|
|
739
|
+
export type DocumentsSearchPostResponse = SearchDocumentsResult;
|
|
740
|
+
/** Optional parameters. */
|
|
741
|
+
export interface DocumentsGetOptionalParams extends coreClient.OperationOptions {
|
|
742
|
+
/** List of field names to retrieve for the document; Any field not retrieved will be missing from the returned document. */
|
|
743
|
+
selectedFields?: string[];
|
|
744
|
+
}
|
|
745
|
+
/** Contains response data for the get operation. */
|
|
746
|
+
export type DocumentsGetResponse = {
|
|
747
|
+
[propertyName: string]: any;
|
|
748
|
+
};
|
|
749
|
+
/** Optional parameters. */
|
|
750
|
+
export interface DocumentsSuggestGetOptionalParams extends coreClient.OperationOptions {
|
|
751
|
+
/** Parameter group */
|
|
752
|
+
suggestOptions?: SuggestOptions;
|
|
753
|
+
}
|
|
754
|
+
/** Contains response data for the suggestGet operation. */
|
|
755
|
+
export type DocumentsSuggestGetResponse = SuggestDocumentsResult;
|
|
756
|
+
/** Optional parameters. */
|
|
757
|
+
export interface DocumentsSuggestPostOptionalParams extends coreClient.OperationOptions {
|
|
758
|
+
}
|
|
759
|
+
/** Contains response data for the suggestPost operation. */
|
|
760
|
+
export type DocumentsSuggestPostResponse = SuggestDocumentsResult;
|
|
761
|
+
/** Optional parameters. */
|
|
762
|
+
export interface DocumentsIndexOptionalParams extends coreClient.OperationOptions {
|
|
763
|
+
}
|
|
764
|
+
/** Contains response data for the index operation. */
|
|
765
|
+
export type DocumentsIndexResponse = IndexDocumentsResult;
|
|
766
|
+
/** Optional parameters. */
|
|
767
|
+
export interface DocumentsAutocompleteGetOptionalParams extends coreClient.OperationOptions {
|
|
768
|
+
/** Parameter group */
|
|
769
|
+
autocompleteOptions?: AutocompleteOptions;
|
|
770
|
+
}
|
|
771
|
+
/** Contains response data for the autocompleteGet operation. */
|
|
772
|
+
export type DocumentsAutocompleteGetResponse = AutocompleteResult;
|
|
773
|
+
/** Optional parameters. */
|
|
774
|
+
export interface DocumentsAutocompletePostOptionalParams extends coreClient.OperationOptions {
|
|
775
|
+
}
|
|
776
|
+
/** Contains response data for the autocompletePost operation. */
|
|
777
|
+
export type DocumentsAutocompletePostResponse = AutocompleteResult;
|
|
778
|
+
/** Optional parameters. */
|
|
779
|
+
export interface SearchClientOptionalParams extends coreHttpCompat.ExtendedServiceClientOptions {
|
|
780
|
+
/** Overrides client endpoint. */
|
|
781
|
+
endpoint?: string;
|
|
782
|
+
}
|
|
783
|
+
//# sourceMappingURL=index.d.ts.map
|