@azure/search-documents 13.0.0 → 13.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.d.ts +5 -5
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +3 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/indexModels.d.ts +35 -1
- package/dist/browser/indexModels.d.ts.map +1 -1
- package/dist/browser/indexModels.js.map +1 -1
- package/dist/browser/knowledgeBaseModels.d.ts +27 -1
- package/dist/browser/knowledgeBaseModels.d.ts.map +1 -1
- package/dist/browser/knowledgeBaseModels.js.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/operations.js +4 -1
- package/dist/browser/knowledgeBaseRetrieval/api/operations.js.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/options.d.ts +2 -0
- package/dist/browser/knowledgeBaseRetrieval/api/options.d.ts.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/options.js.map +1 -1
- package/dist/browser/models/azure/search/documents/index.d.ts +2 -2
- package/dist/browser/models/azure/search/documents/index.d.ts.map +1 -1
- package/dist/browser/models/azure/search/documents/index.js +1 -1
- package/dist/browser/models/azure/search/documents/index.js.map +1 -1
- package/dist/browser/models/azure/search/documents/indexes/index.d.ts +2 -2
- package/dist/browser/models/azure/search/documents/indexes/index.d.ts.map +1 -1
- package/dist/browser/models/azure/search/documents/indexes/index.js +1 -1
- package/dist/browser/models/azure/search/documents/indexes/index.js.map +1 -1
- package/dist/browser/models/azure/search/documents/indexes/models.d.ts +994 -155
- package/dist/browser/models/azure/search/documents/indexes/models.d.ts.map +1 -1
- package/dist/browser/models/azure/search/documents/indexes/models.js +1267 -159
- package/dist/browser/models/azure/search/documents/indexes/models.js.map +1 -1
- package/dist/browser/models/azure/search/documents/knowledgeBases/index.d.ts +2 -2
- package/dist/browser/models/azure/search/documents/knowledgeBases/index.d.ts.map +1 -1
- package/dist/browser/models/azure/search/documents/knowledgeBases/index.js +1 -1
- package/dist/browser/models/azure/search/documents/knowledgeBases/index.js.map +1 -1
- package/dist/browser/models/azure/search/documents/knowledgeBases/models.d.ts +716 -96
- package/dist/browser/models/azure/search/documents/knowledgeBases/models.d.ts.map +1 -1
- package/dist/browser/models/azure/search/documents/knowledgeBases/models.js +899 -77
- package/dist/browser/models/azure/search/documents/knowledgeBases/models.js.map +1 -1
- package/dist/browser/models/azure/search/documents/models.d.ts +467 -3
- package/dist/browser/models/azure/search/documents/models.d.ts.map +1 -1
- package/dist/browser/models/azure/search/documents/models.js +435 -7
- package/dist/browser/models/azure/search/documents/models.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -1
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +37 -2
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +29 -1
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/search/api/operations.d.ts.map +1 -1
- package/dist/browser/search/api/operations.js +48 -11
- package/dist/browser/search/api/operations.js.map +1 -1
- package/dist/browser/search/api/options.d.ts +31 -1
- package/dist/browser/search/api/options.d.ts.map +1 -1
- package/dist/browser/search/api/options.js.map +1 -1
- package/dist/browser/search/api/searchContext.js +1 -1
- package/dist/browser/search/api/searchContext.js.map +1 -1
- package/dist/browser/searchClient.d.ts +1 -0
- package/dist/browser/searchClient.d.ts.map +1 -1
- package/dist/browser/searchClient.js +12 -1
- package/dist/browser/searchClient.js.map +1 -1
- package/dist/browser/searchIndex/api/index.d.ts +2 -2
- package/dist/browser/searchIndex/api/index.d.ts.map +1 -1
- package/dist/browser/searchIndex/api/index.js +1 -1
- package/dist/browser/searchIndex/api/index.js.map +1 -1
- package/dist/browser/searchIndex/api/operations.d.ts +18 -2
- package/dist/browser/searchIndex/api/operations.d.ts.map +1 -1
- package/dist/browser/searchIndex/api/operations.js +200 -38
- package/dist/browser/searchIndex/api/operations.js.map +1 -1
- package/dist/browser/searchIndex/api/options.d.ts +46 -0
- package/dist/browser/searchIndex/api/options.d.ts.map +1 -1
- package/dist/browser/searchIndex/api/options.js.map +1 -1
- package/dist/browser/searchIndex/api/searchIndexContext.js +1 -1
- package/dist/browser/searchIndex/api/searchIndexContext.js.map +1 -1
- package/dist/browser/searchIndex/index.d.ts +1 -1
- package/dist/browser/searchIndex/index.d.ts.map +1 -1
- package/dist/browser/searchIndex/index.js.map +1 -1
- package/dist/browser/searchIndex/searchIndexClient.d.ts +10 -2
- package/dist/browser/searchIndex/searchIndexClient.d.ts.map +1 -1
- package/dist/browser/searchIndex/searchIndexClient.js +17 -1
- package/dist/browser/searchIndex/searchIndexClient.js.map +1 -1
- package/dist/browser/searchIndexClient.d.ts +29 -2
- package/dist/browser/searchIndexClient.d.ts.map +1 -1
- package/dist/browser/searchIndexClient.js +38 -0
- package/dist/browser/searchIndexClient.js.map +1 -1
- package/dist/browser/searchIndexer/api/index.d.ts +2 -2
- package/dist/browser/searchIndexer/api/index.d.ts.map +1 -1
- package/dist/browser/searchIndexer/api/index.js +1 -1
- package/dist/browser/searchIndexer/api/index.js.map +1 -1
- package/dist/browser/searchIndexer/api/operations.d.ts +14 -2
- package/dist/browser/searchIndexer/api/operations.d.ts.map +1 -1
- package/dist/browser/searchIndexer/api/operations.js +144 -22
- package/dist/browser/searchIndexer/api/operations.js.map +1 -1
- package/dist/browser/searchIndexer/api/options.d.ts +36 -0
- package/dist/browser/searchIndexer/api/options.d.ts.map +1 -1
- package/dist/browser/searchIndexer/api/options.js.map +1 -1
- package/dist/browser/searchIndexer/api/searchIndexerContext.js +1 -1
- package/dist/browser/searchIndexer/api/searchIndexerContext.js.map +1 -1
- package/dist/browser/searchIndexer/index.d.ts +1 -1
- package/dist/browser/searchIndexer/index.d.ts.map +1 -1
- package/dist/browser/searchIndexer/index.js.map +1 -1
- package/dist/browser/searchIndexer/searchIndexerClient.d.ts +8 -2
- package/dist/browser/searchIndexer/searchIndexerClient.d.ts.map +1 -1
- package/dist/browser/searchIndexer/searchIndexerClient.js +13 -1
- package/dist/browser/searchIndexer/searchIndexerClient.js.map +1 -1
- package/dist/browser/searchIndexerClient.d.ts +21 -1
- package/dist/browser/searchIndexerClient.d.ts.map +1 -1
- package/dist/browser/searchIndexerClient.js +40 -0
- package/dist/browser/searchIndexerClient.js.map +1 -1
- package/dist/browser/searchIndexingBufferedSender.js +1 -1
- package/dist/browser/searchIndexingBufferedSender.js.map +1 -1
- package/dist/browser/serviceModels.d.ts +251 -4
- package/dist/browser/serviceModels.d.ts.map +1 -1
- package/dist/browser/serviceModels.js.map +1 -1
- package/dist/browser/serviceUtils.d.ts +1 -1
- package/dist/browser/serviceUtils.d.ts.map +1 -1
- package/dist/browser/serviceUtils.js +32 -1
- package/dist/browser/serviceUtils.js.map +1 -1
- package/dist/commonjs/index.d.ts +5 -5
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +29 -0
- package/dist/commonjs/index.js.map +2 -2
- package/dist/commonjs/indexModels.d.ts +35 -1
- package/dist/commonjs/indexModels.d.ts.map +1 -1
- package/dist/commonjs/indexModels.js.map +1 -1
- package/dist/commonjs/knowledgeBaseModels.d.ts +27 -1
- package/dist/commonjs/knowledgeBaseModels.d.ts.map +1 -1
- package/dist/commonjs/knowledgeBaseModels.js.map +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/operations.js +2 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/operations.js.map +2 -2
- package/dist/commonjs/knowledgeBaseRetrieval/api/options.d.ts +2 -0
- package/dist/commonjs/knowledgeBaseRetrieval/api/options.d.ts.map +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/options.js.map +1 -1
- package/dist/commonjs/models/azure/search/documents/index.d.ts +2 -2
- package/dist/commonjs/models/azure/search/documents/index.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/index.js +16 -2
- package/dist/commonjs/models/azure/search/documents/index.js.map +2 -2
- package/dist/commonjs/models/azure/search/documents/indexes/index.d.ts +2 -2
- package/dist/commonjs/models/azure/search/documents/indexes/index.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/indexes/index.js +24 -0
- package/dist/commonjs/models/azure/search/documents/indexes/index.js.map +2 -2
- package/dist/commonjs/models/azure/search/documents/indexes/models.d.ts +994 -155
- package/dist/commonjs/models/azure/search/documents/indexes/models.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/indexes/models.js +1334 -166
- package/dist/commonjs/models/azure/search/documents/indexes/models.js.map +3 -3
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.d.ts +2 -2
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.js +2 -0
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.js.map +2 -2
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.d.ts +716 -96
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.js +995 -90
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.js.map +3 -3
- package/dist/commonjs/models/azure/search/documents/models.d.ts +467 -3
- package/dist/commonjs/models/azure/search/documents/models.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/models.js +360 -13
- package/dist/commonjs/models/azure/search/documents/models.js.map +3 -3
- package/dist/commonjs/models/index.d.ts +2 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +2 -0
- package/dist/commonjs/models/index.js.map +2 -2
- package/dist/commonjs/models/models.d.ts +37 -2
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +32 -3
- package/dist/commonjs/models/models.js.map +3 -3
- package/dist/commonjs/search/api/operations.d.ts.map +1 -1
- package/dist/commonjs/search/api/operations.js +33 -12
- package/dist/commonjs/search/api/operations.js.map +2 -2
- package/dist/commonjs/search/api/options.d.ts +31 -1
- package/dist/commonjs/search/api/options.d.ts.map +1 -1
- package/dist/commonjs/search/api/options.js.map +1 -1
- package/dist/commonjs/search/api/searchContext.js +1 -1
- package/dist/commonjs/search/api/searchContext.js.map +1 -1
- package/dist/commonjs/searchClient.d.ts +1 -0
- package/dist/commonjs/searchClient.d.ts.map +1 -1
- package/dist/commonjs/searchClient.js +12 -0
- package/dist/commonjs/searchClient.js.map +2 -2
- package/dist/commonjs/searchIndex/api/index.d.ts +2 -2
- package/dist/commonjs/searchIndex/api/index.d.ts.map +1 -1
- package/dist/commonjs/searchIndex/api/index.js +10 -2
- package/dist/commonjs/searchIndex/api/index.js.map +2 -2
- package/dist/commonjs/searchIndex/api/operations.d.ts +18 -2
- package/dist/commonjs/searchIndex/api/operations.d.ts.map +1 -1
- package/dist/commonjs/searchIndex/api/operations.js +242 -40
- package/dist/commonjs/searchIndex/api/operations.js.map +2 -2
- package/dist/commonjs/searchIndex/api/options.d.ts +46 -0
- package/dist/commonjs/searchIndex/api/options.d.ts.map +1 -1
- package/dist/commonjs/searchIndex/api/options.js.map +1 -1
- package/dist/commonjs/searchIndex/api/searchIndexContext.js +1 -1
- package/dist/commonjs/searchIndex/api/searchIndexContext.js.map +1 -1
- package/dist/commonjs/searchIndex/index.d.ts +1 -1
- package/dist/commonjs/searchIndex/index.d.ts.map +1 -1
- package/dist/commonjs/searchIndex/index.js.map +1 -1
- package/dist/commonjs/searchIndex/searchIndexClient.d.ts +10 -2
- package/dist/commonjs/searchIndex/searchIndexClient.d.ts.map +1 -1
- package/dist/commonjs/searchIndex/searchIndexClient.js +16 -0
- package/dist/commonjs/searchIndex/searchIndexClient.js.map +2 -2
- package/dist/commonjs/searchIndexClient.d.ts +29 -2
- package/dist/commonjs/searchIndexClient.d.ts.map +1 -1
- package/dist/commonjs/searchIndexClient.js +51 -0
- package/dist/commonjs/searchIndexClient.js.map +2 -2
- package/dist/commonjs/searchIndexer/api/index.d.ts +2 -2
- package/dist/commonjs/searchIndexer/api/index.d.ts.map +1 -1
- package/dist/commonjs/searchIndexer/api/index.js +6 -0
- package/dist/commonjs/searchIndexer/api/index.js.map +2 -2
- package/dist/commonjs/searchIndexer/api/operations.d.ts +14 -2
- package/dist/commonjs/searchIndexer/api/operations.d.ts.map +1 -1
- package/dist/commonjs/searchIndexer/api/operations.js +156 -21
- package/dist/commonjs/searchIndexer/api/operations.js.map +2 -2
- package/dist/commonjs/searchIndexer/api/options.d.ts +36 -0
- package/dist/commonjs/searchIndexer/api/options.d.ts.map +1 -1
- package/dist/commonjs/searchIndexer/api/options.js.map +1 -1
- package/dist/commonjs/searchIndexer/api/searchIndexerContext.js +1 -1
- package/dist/commonjs/searchIndexer/api/searchIndexerContext.js.map +1 -1
- package/dist/commonjs/searchIndexer/index.d.ts +1 -1
- package/dist/commonjs/searchIndexer/index.d.ts.map +1 -1
- package/dist/commonjs/searchIndexer/index.js.map +1 -1
- package/dist/commonjs/searchIndexer/searchIndexerClient.d.ts +8 -2
- package/dist/commonjs/searchIndexer/searchIndexerClient.d.ts.map +1 -1
- package/dist/commonjs/searchIndexer/searchIndexerClient.js +12 -0
- package/dist/commonjs/searchIndexer/searchIndexerClient.js.map +2 -2
- package/dist/commonjs/searchIndexerClient.d.ts +21 -1
- package/dist/commonjs/searchIndexerClient.d.ts.map +1 -1
- package/dist/commonjs/searchIndexerClient.js +50 -0
- package/dist/commonjs/searchIndexerClient.js.map +2 -2
- package/dist/commonjs/searchIndexingBufferedSender.js +2 -12
- package/dist/commonjs/searchIndexingBufferedSender.js.map +3 -3
- package/dist/commonjs/serviceModels.d.ts +251 -4
- package/dist/commonjs/serviceModels.d.ts.map +1 -1
- package/dist/commonjs/serviceModels.js.map +2 -2
- package/dist/commonjs/serviceUtils.d.ts +1 -1
- package/dist/commonjs/serviceUtils.d.ts.map +1 -1
- package/dist/commonjs/serviceUtils.js +34 -3
- package/dist/commonjs/serviceUtils.js.map +2 -2
- package/dist/esm/index.d.ts +5 -5
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +3 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/indexModels.d.ts +35 -1
- package/dist/esm/indexModels.d.ts.map +1 -1
- package/dist/esm/indexModels.js.map +1 -1
- package/dist/esm/knowledgeBaseModels.d.ts +27 -1
- package/dist/esm/knowledgeBaseModels.d.ts.map +1 -1
- package/dist/esm/knowledgeBaseModels.js.map +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/operations.js +4 -1
- package/dist/esm/knowledgeBaseRetrieval/api/operations.js.map +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/options.d.ts +2 -0
- package/dist/esm/knowledgeBaseRetrieval/api/options.d.ts.map +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/options.js.map +1 -1
- package/dist/esm/models/azure/search/documents/index.d.ts +2 -2
- package/dist/esm/models/azure/search/documents/index.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/index.js +1 -1
- package/dist/esm/models/azure/search/documents/index.js.map +1 -1
- package/dist/esm/models/azure/search/documents/indexes/index.d.ts +2 -2
- package/dist/esm/models/azure/search/documents/indexes/index.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/indexes/index.js +1 -1
- package/dist/esm/models/azure/search/documents/indexes/index.js.map +1 -1
- package/dist/esm/models/azure/search/documents/indexes/models.d.ts +994 -155
- package/dist/esm/models/azure/search/documents/indexes/models.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/indexes/models.js +1267 -159
- package/dist/esm/models/azure/search/documents/indexes/models.js.map +1 -1
- package/dist/esm/models/azure/search/documents/knowledgeBases/index.d.ts +2 -2
- package/dist/esm/models/azure/search/documents/knowledgeBases/index.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/knowledgeBases/index.js +1 -1
- package/dist/esm/models/azure/search/documents/knowledgeBases/index.js.map +1 -1
- package/dist/esm/models/azure/search/documents/knowledgeBases/models.d.ts +716 -96
- package/dist/esm/models/azure/search/documents/knowledgeBases/models.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/knowledgeBases/models.js +899 -77
- package/dist/esm/models/azure/search/documents/knowledgeBases/models.js.map +1 -1
- package/dist/esm/models/azure/search/documents/models.d.ts +467 -3
- package/dist/esm/models/azure/search/documents/models.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/models.js +435 -7
- package/dist/esm/models/azure/search/documents/models.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +37 -2
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +29 -1
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/search/api/operations.d.ts.map +1 -1
- package/dist/esm/search/api/operations.js +48 -11
- package/dist/esm/search/api/operations.js.map +1 -1
- package/dist/esm/search/api/options.d.ts +31 -1
- package/dist/esm/search/api/options.d.ts.map +1 -1
- package/dist/esm/search/api/options.js.map +1 -1
- package/dist/esm/search/api/searchContext.js +1 -1
- package/dist/esm/search/api/searchContext.js.map +1 -1
- package/dist/esm/searchClient.d.ts +1 -0
- package/dist/esm/searchClient.d.ts.map +1 -1
- package/dist/esm/searchClient.js +12 -1
- package/dist/esm/searchClient.js.map +1 -1
- package/dist/esm/searchIndex/api/index.d.ts +2 -2
- package/dist/esm/searchIndex/api/index.d.ts.map +1 -1
- package/dist/esm/searchIndex/api/index.js +1 -1
- package/dist/esm/searchIndex/api/index.js.map +1 -1
- package/dist/esm/searchIndex/api/operations.d.ts +18 -2
- package/dist/esm/searchIndex/api/operations.d.ts.map +1 -1
- package/dist/esm/searchIndex/api/operations.js +200 -38
- package/dist/esm/searchIndex/api/operations.js.map +1 -1
- package/dist/esm/searchIndex/api/options.d.ts +46 -0
- package/dist/esm/searchIndex/api/options.d.ts.map +1 -1
- package/dist/esm/searchIndex/api/options.js.map +1 -1
- package/dist/esm/searchIndex/api/searchIndexContext.js +1 -1
- package/dist/esm/searchIndex/api/searchIndexContext.js.map +1 -1
- package/dist/esm/searchIndex/index.d.ts +1 -1
- package/dist/esm/searchIndex/index.d.ts.map +1 -1
- package/dist/esm/searchIndex/index.js.map +1 -1
- package/dist/esm/searchIndex/searchIndexClient.d.ts +10 -2
- package/dist/esm/searchIndex/searchIndexClient.d.ts.map +1 -1
- package/dist/esm/searchIndex/searchIndexClient.js +17 -1
- package/dist/esm/searchIndex/searchIndexClient.js.map +1 -1
- package/dist/esm/searchIndexClient.d.ts +29 -2
- package/dist/esm/searchIndexClient.d.ts.map +1 -1
- package/dist/esm/searchIndexClient.js +38 -0
- package/dist/esm/searchIndexClient.js.map +1 -1
- package/dist/esm/searchIndexer/api/index.d.ts +2 -2
- package/dist/esm/searchIndexer/api/index.d.ts.map +1 -1
- package/dist/esm/searchIndexer/api/index.js +1 -1
- package/dist/esm/searchIndexer/api/index.js.map +1 -1
- package/dist/esm/searchIndexer/api/operations.d.ts +14 -2
- package/dist/esm/searchIndexer/api/operations.d.ts.map +1 -1
- package/dist/esm/searchIndexer/api/operations.js +144 -22
- package/dist/esm/searchIndexer/api/operations.js.map +1 -1
- package/dist/esm/searchIndexer/api/options.d.ts +36 -0
- package/dist/esm/searchIndexer/api/options.d.ts.map +1 -1
- package/dist/esm/searchIndexer/api/options.js.map +1 -1
- package/dist/esm/searchIndexer/api/searchIndexerContext.js +1 -1
- package/dist/esm/searchIndexer/api/searchIndexerContext.js.map +1 -1
- package/dist/esm/searchIndexer/index.d.ts +1 -1
- package/dist/esm/searchIndexer/index.d.ts.map +1 -1
- package/dist/esm/searchIndexer/index.js.map +1 -1
- package/dist/esm/searchIndexer/searchIndexerClient.d.ts +8 -2
- package/dist/esm/searchIndexer/searchIndexerClient.d.ts.map +1 -1
- package/dist/esm/searchIndexer/searchIndexerClient.js +13 -1
- package/dist/esm/searchIndexer/searchIndexerClient.js.map +1 -1
- package/dist/esm/searchIndexerClient.d.ts +21 -1
- package/dist/esm/searchIndexerClient.d.ts.map +1 -1
- package/dist/esm/searchIndexerClient.js +40 -0
- package/dist/esm/searchIndexerClient.js.map +1 -1
- package/dist/esm/searchIndexingBufferedSender.js +1 -1
- package/dist/esm/searchIndexingBufferedSender.js.map +1 -1
- package/dist/esm/serviceModels.d.ts +251 -4
- package/dist/esm/serviceModels.d.ts.map +1 -1
- package/dist/esm/serviceModels.js.map +1 -1
- package/dist/esm/serviceUtils.d.ts +1 -1
- package/dist/esm/serviceUtils.d.ts.map +1 -1
- package/dist/esm/serviceUtils.js +32 -1
- package/dist/esm/serviceUtils.js.map +1 -1
- package/dist/react-native/index.d.ts +5 -5
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +3 -2
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/indexModels.d.ts +35 -1
- package/dist/react-native/indexModels.d.ts.map +1 -1
- package/dist/react-native/indexModels.js.map +1 -1
- package/dist/react-native/knowledgeBaseModels.d.ts +27 -1
- package/dist/react-native/knowledgeBaseModels.d.ts.map +1 -1
- package/dist/react-native/knowledgeBaseModels.js.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/operations.js +4 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/operations.js.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/options.d.ts +2 -0
- package/dist/react-native/knowledgeBaseRetrieval/api/options.d.ts.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/options.js.map +1 -1
- package/dist/react-native/models/azure/search/documents/index.d.ts +2 -2
- package/dist/react-native/models/azure/search/documents/index.d.ts.map +1 -1
- package/dist/react-native/models/azure/search/documents/index.js +1 -1
- package/dist/react-native/models/azure/search/documents/index.js.map +1 -1
- package/dist/react-native/models/azure/search/documents/indexes/index.d.ts +2 -2
- package/dist/react-native/models/azure/search/documents/indexes/index.d.ts.map +1 -1
- package/dist/react-native/models/azure/search/documents/indexes/index.js +1 -1
- package/dist/react-native/models/azure/search/documents/indexes/index.js.map +1 -1
- package/dist/react-native/models/azure/search/documents/indexes/models.d.ts +994 -155
- package/dist/react-native/models/azure/search/documents/indexes/models.d.ts.map +1 -1
- package/dist/react-native/models/azure/search/documents/indexes/models.js +1267 -159
- package/dist/react-native/models/azure/search/documents/indexes/models.js.map +1 -1
- package/dist/react-native/models/azure/search/documents/knowledgeBases/index.d.ts +2 -2
- package/dist/react-native/models/azure/search/documents/knowledgeBases/index.d.ts.map +1 -1
- package/dist/react-native/models/azure/search/documents/knowledgeBases/index.js +1 -1
- package/dist/react-native/models/azure/search/documents/knowledgeBases/index.js.map +1 -1
- package/dist/react-native/models/azure/search/documents/knowledgeBases/models.d.ts +716 -96
- package/dist/react-native/models/azure/search/documents/knowledgeBases/models.d.ts.map +1 -1
- package/dist/react-native/models/azure/search/documents/knowledgeBases/models.js +899 -77
- package/dist/react-native/models/azure/search/documents/knowledgeBases/models.js.map +1 -1
- package/dist/react-native/models/azure/search/documents/models.d.ts +467 -3
- package/dist/react-native/models/azure/search/documents/models.d.ts.map +1 -1
- package/dist/react-native/models/azure/search/documents/models.js +435 -7
- package/dist/react-native/models/azure/search/documents/models.js.map +1 -1
- package/dist/react-native/models/index.d.ts +2 -1
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +37 -2
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +29 -1
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/search/api/operations.d.ts.map +1 -1
- package/dist/react-native/search/api/operations.js +48 -11
- package/dist/react-native/search/api/operations.js.map +1 -1
- package/dist/react-native/search/api/options.d.ts +31 -1
- package/dist/react-native/search/api/options.d.ts.map +1 -1
- package/dist/react-native/search/api/options.js.map +1 -1
- package/dist/react-native/search/api/searchContext.js +1 -1
- package/dist/react-native/search/api/searchContext.js.map +1 -1
- package/dist/react-native/searchClient.d.ts +1 -0
- package/dist/react-native/searchClient.d.ts.map +1 -1
- package/dist/react-native/searchClient.js +12 -1
- package/dist/react-native/searchClient.js.map +1 -1
- package/dist/react-native/searchIndex/api/index.d.ts +2 -2
- package/dist/react-native/searchIndex/api/index.d.ts.map +1 -1
- package/dist/react-native/searchIndex/api/index.js +1 -1
- package/dist/react-native/searchIndex/api/index.js.map +1 -1
- package/dist/react-native/searchIndex/api/operations.d.ts +18 -2
- package/dist/react-native/searchIndex/api/operations.d.ts.map +1 -1
- package/dist/react-native/searchIndex/api/operations.js +200 -38
- package/dist/react-native/searchIndex/api/operations.js.map +1 -1
- package/dist/react-native/searchIndex/api/options.d.ts +46 -0
- package/dist/react-native/searchIndex/api/options.d.ts.map +1 -1
- package/dist/react-native/searchIndex/api/options.js.map +1 -1
- package/dist/react-native/searchIndex/api/searchIndexContext.js +1 -1
- package/dist/react-native/searchIndex/api/searchIndexContext.js.map +1 -1
- package/dist/react-native/searchIndex/index.d.ts +1 -1
- package/dist/react-native/searchIndex/index.d.ts.map +1 -1
- package/dist/react-native/searchIndex/index.js.map +1 -1
- package/dist/react-native/searchIndex/searchIndexClient.d.ts +10 -2
- package/dist/react-native/searchIndex/searchIndexClient.d.ts.map +1 -1
- package/dist/react-native/searchIndex/searchIndexClient.js +17 -1
- package/dist/react-native/searchIndex/searchIndexClient.js.map +1 -1
- package/dist/react-native/searchIndexClient.d.ts +29 -2
- package/dist/react-native/searchIndexClient.d.ts.map +1 -1
- package/dist/react-native/searchIndexClient.js +38 -0
- package/dist/react-native/searchIndexClient.js.map +1 -1
- package/dist/react-native/searchIndexer/api/index.d.ts +2 -2
- package/dist/react-native/searchIndexer/api/index.d.ts.map +1 -1
- package/dist/react-native/searchIndexer/api/index.js +1 -1
- package/dist/react-native/searchIndexer/api/index.js.map +1 -1
- package/dist/react-native/searchIndexer/api/operations.d.ts +14 -2
- package/dist/react-native/searchIndexer/api/operations.d.ts.map +1 -1
- package/dist/react-native/searchIndexer/api/operations.js +144 -22
- package/dist/react-native/searchIndexer/api/operations.js.map +1 -1
- package/dist/react-native/searchIndexer/api/options.d.ts +36 -0
- package/dist/react-native/searchIndexer/api/options.d.ts.map +1 -1
- package/dist/react-native/searchIndexer/api/options.js.map +1 -1
- package/dist/react-native/searchIndexer/api/searchIndexerContext.js +1 -1
- package/dist/react-native/searchIndexer/api/searchIndexerContext.js.map +1 -1
- package/dist/react-native/searchIndexer/index.d.ts +1 -1
- package/dist/react-native/searchIndexer/index.d.ts.map +1 -1
- package/dist/react-native/searchIndexer/index.js.map +1 -1
- package/dist/react-native/searchIndexer/searchIndexerClient.d.ts +8 -2
- package/dist/react-native/searchIndexer/searchIndexerClient.d.ts.map +1 -1
- package/dist/react-native/searchIndexer/searchIndexerClient.js +13 -1
- package/dist/react-native/searchIndexer/searchIndexerClient.js.map +1 -1
- package/dist/react-native/searchIndexerClient.d.ts +21 -1
- package/dist/react-native/searchIndexerClient.d.ts.map +1 -1
- package/dist/react-native/searchIndexerClient.js +40 -0
- package/dist/react-native/searchIndexerClient.js.map +1 -1
- package/dist/react-native/searchIndexingBufferedSender.js +1 -1
- package/dist/react-native/searchIndexingBufferedSender.js.map +1 -1
- package/dist/react-native/serviceModels.d.ts +251 -4
- package/dist/react-native/serviceModels.d.ts.map +1 -1
- package/dist/react-native/serviceModels.js.map +1 -1
- package/dist/react-native/serviceUtils.d.ts +1 -1
- package/dist/react-native/serviceUtils.d.ts.map +1 -1
- package/dist/react-native/serviceUtils.js +32 -1
- package/dist/react-native/serviceUtils.js.map +1 -1
- package/package.json +11 -6
|
@@ -42,6 +42,8 @@ export interface SearchDocumentsResult {
|
|
|
42
42
|
readonly facets?: Record<string, FacetResult[]>;
|
|
43
43
|
/** The answers query results for the search operation; null if the answers query parameter was not specified or set to 'none'. */
|
|
44
44
|
readonly answers?: QueryAnswerResult[];
|
|
45
|
+
/** Debug information that applies to the search results as a whole. */
|
|
46
|
+
readonly debugInfo?: DebugInfo;
|
|
45
47
|
/** 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 */
|
|
46
48
|
readonly nextPageParameters?: SearchRequest;
|
|
47
49
|
/** The sequence of results returned by the query. */
|
|
@@ -52,8 +54,10 @@ export interface SearchDocumentsResult {
|
|
|
52
54
|
readonly semanticPartialResponseReason?: SemanticErrorReason;
|
|
53
55
|
/** Type of partial response that was returned for a semantic ranking request. */
|
|
54
56
|
readonly semanticPartialResponseType?: SemanticSearchResultsType;
|
|
57
|
+
/** Type of query rewrite that was used to retrieve documents. */
|
|
58
|
+
readonly semanticQueryRewritesResultType?: SemanticQueryRewritesResultType;
|
|
55
59
|
}
|
|
56
|
-
export declare function searchDocumentsResultSerializer(
|
|
60
|
+
export declare function searchDocumentsResultSerializer(_item: SearchDocumentsResult): any;
|
|
57
61
|
export declare function searchDocumentsResultDeserializer(item: any): SearchDocumentsResult;
|
|
58
62
|
export declare function facetResultArrayRecordSerializer(item: Record<string, Array<FacetResult>>): Record<string, any>;
|
|
59
63
|
export declare function facetResultArrayRecordDeserializer(item: Record<string, any>): Record<string, Array<FacetResult>>;
|
|
@@ -63,6 +67,18 @@ export declare function facetResultArrayDeserializer(result: Array<FacetResult>)
|
|
|
63
67
|
export interface FacetResult {
|
|
64
68
|
/** The approximate count of documents falling within the bucket described by this facet. */
|
|
65
69
|
readonly count?: number;
|
|
70
|
+
/** The resulting total avg for the facet when a avg metric is requested. */
|
|
71
|
+
readonly avg?: number;
|
|
72
|
+
/** The resulting total min for the facet when a min metric is requested. */
|
|
73
|
+
readonly min?: number;
|
|
74
|
+
/** The resulting total max for the facet when a max metric is requested. */
|
|
75
|
+
readonly max?: number;
|
|
76
|
+
/** The resulting total sum for the facet when a sum metric is requested. */
|
|
77
|
+
readonly sum?: number;
|
|
78
|
+
/** The resulting total cardinality for the facet when a cardinality metric is requested. */
|
|
79
|
+
readonly cardinality?: number;
|
|
80
|
+
/** The nested facet query results for the search operation, organized as a collection of buckets for each faceted field; null if the query did not contain any nested facets. */
|
|
81
|
+
readonly facets?: Record<string, FacetResult[]>;
|
|
66
82
|
/** Additional properties */
|
|
67
83
|
additionalProperties?: Record<string, any>;
|
|
68
84
|
}
|
|
@@ -85,6 +101,30 @@ export interface QueryAnswerResult {
|
|
|
85
101
|
}
|
|
86
102
|
export declare function queryAnswerResultSerializer(item: QueryAnswerResult): any;
|
|
87
103
|
export declare function queryAnswerResultDeserializer(item: any): QueryAnswerResult;
|
|
104
|
+
/** Contains debugging information that can be used to further explore your search results. */
|
|
105
|
+
export interface DebugInfo {
|
|
106
|
+
/** Contains debugging information specific to query rewrites. */
|
|
107
|
+
readonly queryRewrites?: QueryRewritesDebugInfo;
|
|
108
|
+
}
|
|
109
|
+
export declare function debugInfoSerializer(_item: DebugInfo): any;
|
|
110
|
+
export declare function debugInfoDeserializer(item: any): DebugInfo;
|
|
111
|
+
/** Contains debugging information specific to query rewrites. */
|
|
112
|
+
export interface QueryRewritesDebugInfo {
|
|
113
|
+
/** List of query rewrites generated for the text query. */
|
|
114
|
+
readonly text?: QueryRewritesValuesDebugInfo;
|
|
115
|
+
/** List of query rewrites generated for the vectorizable text queries. */
|
|
116
|
+
readonly vectors?: QueryRewritesValuesDebugInfo[];
|
|
117
|
+
}
|
|
118
|
+
export declare function queryRewritesDebugInfoDeserializer(item: any): QueryRewritesDebugInfo;
|
|
119
|
+
/** Contains debugging information specific to query rewrites. */
|
|
120
|
+
export interface QueryRewritesValuesDebugInfo {
|
|
121
|
+
/** The input text to the generative query rewriting model. There may be cases where the user query and the input to the generative model are not identical. */
|
|
122
|
+
readonly inputQuery?: string;
|
|
123
|
+
/** List of query rewrites. */
|
|
124
|
+
readonly rewrites?: string[];
|
|
125
|
+
}
|
|
126
|
+
export declare function queryRewritesValuesDebugInfoDeserializer(item: any): QueryRewritesValuesDebugInfo;
|
|
127
|
+
export declare function queryRewritesValuesDebugInfoArrayDeserializer(result: Array<QueryRewritesValuesDebugInfo>): any[];
|
|
88
128
|
/** Parameters for filtering, sorting, faceting, paging, and other search query behaviors. */
|
|
89
129
|
export interface SearchRequest {
|
|
90
130
|
/** 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. */
|
|
@@ -121,6 +161,10 @@ export interface SearchRequest {
|
|
|
121
161
|
searchFields?: string;
|
|
122
162
|
/** A value that specifies whether any or all of the search terms must be matched in order to count the document as a match. */
|
|
123
163
|
searchMode?: SearchMode;
|
|
164
|
+
/** A value that specifies the language of the search query. */
|
|
165
|
+
queryLanguage?: QueryLanguage;
|
|
166
|
+
/** A value that specifies the type of the speller to use to spell-correct individual search query terms. */
|
|
167
|
+
querySpeller?: QuerySpellerType;
|
|
124
168
|
/** The comma-separated list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included. */
|
|
125
169
|
select?: string;
|
|
126
170
|
/** 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. */
|
|
@@ -139,10 +183,16 @@ export interface SearchRequest {
|
|
|
139
183
|
answers?: QueryAnswerType;
|
|
140
184
|
/** A value that specifies whether captions should be returned as part of the search response. */
|
|
141
185
|
captions?: QueryCaptionType;
|
|
186
|
+
/** A value that specifies whether query rewrites should be generated to augment the search query. */
|
|
187
|
+
queryRewrites?: QueryRewritesType;
|
|
188
|
+
/** The comma-separated list of field names used for semantic ranking. */
|
|
189
|
+
semanticFields?: string[];
|
|
142
190
|
/** The query parameters for vector and hybrid search queries. */
|
|
143
191
|
vectorQueries?: VectorQueryUnion[];
|
|
144
192
|
/** Determines whether or not filters are applied before or after the vector search is performed. Default is 'preFilter' for new indexes. */
|
|
145
193
|
vectorFilterMode?: VectorFilterMode;
|
|
194
|
+
/** The query parameters to configure hybrid search behaviors. */
|
|
195
|
+
hybridSearch?: HybridSearch;
|
|
146
196
|
}
|
|
147
197
|
export declare function searchRequestDeserializer(item: any): SearchRequest;
|
|
148
198
|
/** Specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax and 'semantic' if query syntax is not needed. */
|
|
@@ -196,6 +246,248 @@ export declare enum KnownQueryDebugMode {
|
|
|
196
246
|
export type QueryDebugMode = string;
|
|
197
247
|
/** Specifies whether any or all of the search terms must be matched in order to count the document as a match. */
|
|
198
248
|
export type SearchMode = "any" | "all";
|
|
249
|
+
/** The language of the query. */
|
|
250
|
+
export declare enum KnownQueryLanguage {
|
|
251
|
+
/** Query language not specified. */
|
|
252
|
+
None = "none",
|
|
253
|
+
/** Query language value for English (United States). */
|
|
254
|
+
EnUs = "en-us",
|
|
255
|
+
/** Query language value for English (Great Britain). */
|
|
256
|
+
EnGb = "en-gb",
|
|
257
|
+
/** Query language value for English (India). */
|
|
258
|
+
EnIn = "en-in",
|
|
259
|
+
/** Query language value for English (Canada). */
|
|
260
|
+
EnCa = "en-ca",
|
|
261
|
+
/** Query language value for English (Australia). */
|
|
262
|
+
EnAu = "en-au",
|
|
263
|
+
/** Query language value for French (France). */
|
|
264
|
+
FrFr = "fr-fr",
|
|
265
|
+
/** Query language value for French (Canada). */
|
|
266
|
+
FrCa = "fr-ca",
|
|
267
|
+
/** Query language value for German (Germany). */
|
|
268
|
+
DeDe = "de-de",
|
|
269
|
+
/** Query language value for Spanish (Spain). */
|
|
270
|
+
EsEs = "es-es",
|
|
271
|
+
/** Query language value for Spanish (Mexico). */
|
|
272
|
+
EsMx = "es-mx",
|
|
273
|
+
/** Query language value for Chinese (China). */
|
|
274
|
+
ZhCn = "zh-cn",
|
|
275
|
+
/** Query language value for Chinese (Taiwan). */
|
|
276
|
+
ZhTw = "zh-tw",
|
|
277
|
+
/** Query language value for Portuguese (Brazil). */
|
|
278
|
+
PtBr = "pt-br",
|
|
279
|
+
/** Query language value for Portuguese (Portugal). */
|
|
280
|
+
PtPt = "pt-pt",
|
|
281
|
+
/** Query language value for Italian (Italy). */
|
|
282
|
+
ItIt = "it-it",
|
|
283
|
+
/** Query language value for Japanese (Japan). */
|
|
284
|
+
JaJp = "ja-jp",
|
|
285
|
+
/** Query language value for Korean (Korea). */
|
|
286
|
+
KoKr = "ko-kr",
|
|
287
|
+
/** Query language value for Russian (Russia). */
|
|
288
|
+
RuRu = "ru-ru",
|
|
289
|
+
/** Query language value for Czech (Czech Republic). */
|
|
290
|
+
CsCz = "cs-cz",
|
|
291
|
+
/** Query language value for Dutch (Belgium). */
|
|
292
|
+
NlBe = "nl-be",
|
|
293
|
+
/** Query language value for Dutch (Netherlands). */
|
|
294
|
+
NlNl = "nl-nl",
|
|
295
|
+
/** Query language value for Hungarian (Hungary). */
|
|
296
|
+
HuHu = "hu-hu",
|
|
297
|
+
/** Query language value for Polish (Poland). */
|
|
298
|
+
PlPl = "pl-pl",
|
|
299
|
+
/** Query language value for Swedish (Sweden). */
|
|
300
|
+
SvSe = "sv-se",
|
|
301
|
+
/** Query language value for Turkish (Turkey). */
|
|
302
|
+
TrTr = "tr-tr",
|
|
303
|
+
/** Query language value for Hindi (India). */
|
|
304
|
+
HiIn = "hi-in",
|
|
305
|
+
/** Query language value for Arabic (Saudi Arabia). */
|
|
306
|
+
ArSa = "ar-sa",
|
|
307
|
+
/** Query language value for Arabic (Egypt). */
|
|
308
|
+
ArEg = "ar-eg",
|
|
309
|
+
/** Query language value for Arabic (Morocco). */
|
|
310
|
+
ArMa = "ar-ma",
|
|
311
|
+
/** Query language value for Arabic (Kuwait). */
|
|
312
|
+
ArKw = "ar-kw",
|
|
313
|
+
/** Query language value for Arabic (Jordan). */
|
|
314
|
+
ArJo = "ar-jo",
|
|
315
|
+
/** Query language value for Danish (Denmark). */
|
|
316
|
+
DaDk = "da-dk",
|
|
317
|
+
/** Query language value for Norwegian (Norway). */
|
|
318
|
+
NoNo = "no-no",
|
|
319
|
+
/** Query language value for Bulgarian (Bulgaria). */
|
|
320
|
+
BgBg = "bg-bg",
|
|
321
|
+
/** Query language value for Croatian (Croatia). */
|
|
322
|
+
HrHr = "hr-hr",
|
|
323
|
+
/** Query language value for Croatian (Bosnia and Herzegovina). */
|
|
324
|
+
HrBa = "hr-ba",
|
|
325
|
+
/** Query language value for Malay (Malaysia). */
|
|
326
|
+
MsMy = "ms-my",
|
|
327
|
+
/** Query language value for Malay (Brunei Darussalam). */
|
|
328
|
+
MsBn = "ms-bn",
|
|
329
|
+
/** Query language value for Slovenian (Slovenia). */
|
|
330
|
+
SlSl = "sl-sl",
|
|
331
|
+
/** Query language value for Tamil (India). */
|
|
332
|
+
TaIn = "ta-in",
|
|
333
|
+
/** Query language value for Vietnamese (Viet Nam). */
|
|
334
|
+
ViVn = "vi-vn",
|
|
335
|
+
/** Query language value for Greek (Greece). */
|
|
336
|
+
ElGr = "el-gr",
|
|
337
|
+
/** Query language value for Romanian (Romania). */
|
|
338
|
+
RoRo = "ro-ro",
|
|
339
|
+
/** Query language value for Icelandic (Iceland). */
|
|
340
|
+
IsIs = "is-is",
|
|
341
|
+
/** Query language value for Indonesian (Indonesia). */
|
|
342
|
+
IdId = "id-id",
|
|
343
|
+
/** Query language value for Thai (Thailand). */
|
|
344
|
+
ThTh = "th-th",
|
|
345
|
+
/** Query language value for Lithuanian (Lithuania). */
|
|
346
|
+
LtLt = "lt-lt",
|
|
347
|
+
/** Query language value for Ukrainian (Ukraine). */
|
|
348
|
+
UkUa = "uk-ua",
|
|
349
|
+
/** Query language value for Latvian (Latvia). */
|
|
350
|
+
LvLv = "lv-lv",
|
|
351
|
+
/** Query language value for Estonian (Estonia). */
|
|
352
|
+
EtEe = "et-ee",
|
|
353
|
+
/** Query language value for Catalan. */
|
|
354
|
+
CaEs = "ca-es",
|
|
355
|
+
/** Query language value for Finnish (Finland). */
|
|
356
|
+
FiFi = "fi-fi",
|
|
357
|
+
/** Query language value for Serbian (Bosnia and Herzegovina). */
|
|
358
|
+
SrBa = "sr-ba",
|
|
359
|
+
/** Query language value for Serbian (Montenegro). */
|
|
360
|
+
SrMe = "sr-me",
|
|
361
|
+
/** Query language value for Serbian (Serbia). */
|
|
362
|
+
SrRs = "sr-rs",
|
|
363
|
+
/** Query language value for Slovak (Slovakia). */
|
|
364
|
+
SkSk = "sk-sk",
|
|
365
|
+
/** Query language value for Norwegian (Norway). */
|
|
366
|
+
NbNo = "nb-no",
|
|
367
|
+
/** Query language value for Armenian (Armenia). */
|
|
368
|
+
HyAm = "hy-am",
|
|
369
|
+
/** Query language value for Bengali (India). */
|
|
370
|
+
BnIn = "bn-in",
|
|
371
|
+
/** Query language value for Basque. */
|
|
372
|
+
EuEs = "eu-es",
|
|
373
|
+
/** Query language value for Galician. */
|
|
374
|
+
GlEs = "gl-es",
|
|
375
|
+
/** Query language value for Gujarati (India). */
|
|
376
|
+
GuIn = "gu-in",
|
|
377
|
+
/** Query language value for Hebrew (Israel). */
|
|
378
|
+
HeIl = "he-il",
|
|
379
|
+
/** Query language value for Irish (Ireland). */
|
|
380
|
+
GaIe = "ga-ie",
|
|
381
|
+
/** Query language value for Kannada (India). */
|
|
382
|
+
KnIn = "kn-in",
|
|
383
|
+
/** Query language value for Malayalam (India). */
|
|
384
|
+
MlIn = "ml-in",
|
|
385
|
+
/** Query language value for Marathi (India). */
|
|
386
|
+
MrIn = "mr-in",
|
|
387
|
+
/** Query language value for Persian (U.A.E.). */
|
|
388
|
+
FaAe = "fa-ae",
|
|
389
|
+
/** Query language value for Punjabi (India). */
|
|
390
|
+
PaIn = "pa-in",
|
|
391
|
+
/** Query language value for Telugu (India). */
|
|
392
|
+
TeIn = "te-in",
|
|
393
|
+
/** Query language value for Urdu (Pakistan). */
|
|
394
|
+
UrPk = "ur-pk"
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* The language of the query. \
|
|
398
|
+
* {@link KnownQueryLanguage} can be used interchangeably with QueryLanguage,
|
|
399
|
+
* this enum contains the known values that the service supports.
|
|
400
|
+
* ### Known values supported by the service
|
|
401
|
+
* **none**: Query language not specified. \
|
|
402
|
+
* **en-us**: Query language value for English (United States). \
|
|
403
|
+
* **en-gb**: Query language value for English (Great Britain). \
|
|
404
|
+
* **en-in**: Query language value for English (India). \
|
|
405
|
+
* **en-ca**: Query language value for English (Canada). \
|
|
406
|
+
* **en-au**: Query language value for English (Australia). \
|
|
407
|
+
* **fr-fr**: Query language value for French (France). \
|
|
408
|
+
* **fr-ca**: Query language value for French (Canada). \
|
|
409
|
+
* **de-de**: Query language value for German (Germany). \
|
|
410
|
+
* **es-es**: Query language value for Spanish (Spain). \
|
|
411
|
+
* **es-mx**: Query language value for Spanish (Mexico). \
|
|
412
|
+
* **zh-cn**: Query language value for Chinese (China). \
|
|
413
|
+
* **zh-tw**: Query language value for Chinese (Taiwan). \
|
|
414
|
+
* **pt-br**: Query language value for Portuguese (Brazil). \
|
|
415
|
+
* **pt-pt**: Query language value for Portuguese (Portugal). \
|
|
416
|
+
* **it-it**: Query language value for Italian (Italy). \
|
|
417
|
+
* **ja-jp**: Query language value for Japanese (Japan). \
|
|
418
|
+
* **ko-kr**: Query language value for Korean (Korea). \
|
|
419
|
+
* **ru-ru**: Query language value for Russian (Russia). \
|
|
420
|
+
* **cs-cz**: Query language value for Czech (Czech Republic). \
|
|
421
|
+
* **nl-be**: Query language value for Dutch (Belgium). \
|
|
422
|
+
* **nl-nl**: Query language value for Dutch (Netherlands). \
|
|
423
|
+
* **hu-hu**: Query language value for Hungarian (Hungary). \
|
|
424
|
+
* **pl-pl**: Query language value for Polish (Poland). \
|
|
425
|
+
* **sv-se**: Query language value for Swedish (Sweden). \
|
|
426
|
+
* **tr-tr**: Query language value for Turkish (Turkey). \
|
|
427
|
+
* **hi-in**: Query language value for Hindi (India). \
|
|
428
|
+
* **ar-sa**: Query language value for Arabic (Saudi Arabia). \
|
|
429
|
+
* **ar-eg**: Query language value for Arabic (Egypt). \
|
|
430
|
+
* **ar-ma**: Query language value for Arabic (Morocco). \
|
|
431
|
+
* **ar-kw**: Query language value for Arabic (Kuwait). \
|
|
432
|
+
* **ar-jo**: Query language value for Arabic (Jordan). \
|
|
433
|
+
* **da-dk**: Query language value for Danish (Denmark). \
|
|
434
|
+
* **no-no**: Query language value for Norwegian (Norway). \
|
|
435
|
+
* **bg-bg**: Query language value for Bulgarian (Bulgaria). \
|
|
436
|
+
* **hr-hr**: Query language value for Croatian (Croatia). \
|
|
437
|
+
* **hr-ba**: Query language value for Croatian (Bosnia and Herzegovina). \
|
|
438
|
+
* **ms-my**: Query language value for Malay (Malaysia). \
|
|
439
|
+
* **ms-bn**: Query language value for Malay (Brunei Darussalam). \
|
|
440
|
+
* **sl-sl**: Query language value for Slovenian (Slovenia). \
|
|
441
|
+
* **ta-in**: Query language value for Tamil (India). \
|
|
442
|
+
* **vi-vn**: Query language value for Vietnamese (Viet Nam). \
|
|
443
|
+
* **el-gr**: Query language value for Greek (Greece). \
|
|
444
|
+
* **ro-ro**: Query language value for Romanian (Romania). \
|
|
445
|
+
* **is-is**: Query language value for Icelandic (Iceland). \
|
|
446
|
+
* **id-id**: Query language value for Indonesian (Indonesia). \
|
|
447
|
+
* **th-th**: Query language value for Thai (Thailand). \
|
|
448
|
+
* **lt-lt**: Query language value for Lithuanian (Lithuania). \
|
|
449
|
+
* **uk-ua**: Query language value for Ukrainian (Ukraine). \
|
|
450
|
+
* **lv-lv**: Query language value for Latvian (Latvia). \
|
|
451
|
+
* **et-ee**: Query language value for Estonian (Estonia). \
|
|
452
|
+
* **ca-es**: Query language value for Catalan. \
|
|
453
|
+
* **fi-fi**: Query language value for Finnish (Finland). \
|
|
454
|
+
* **sr-ba**: Query language value for Serbian (Bosnia and Herzegovina). \
|
|
455
|
+
* **sr-me**: Query language value for Serbian (Montenegro). \
|
|
456
|
+
* **sr-rs**: Query language value for Serbian (Serbia). \
|
|
457
|
+
* **sk-sk**: Query language value for Slovak (Slovakia). \
|
|
458
|
+
* **nb-no**: Query language value for Norwegian (Norway). \
|
|
459
|
+
* **hy-am**: Query language value for Armenian (Armenia). \
|
|
460
|
+
* **bn-in**: Query language value for Bengali (India). \
|
|
461
|
+
* **eu-es**: Query language value for Basque. \
|
|
462
|
+
* **gl-es**: Query language value for Galician. \
|
|
463
|
+
* **gu-in**: Query language value for Gujarati (India). \
|
|
464
|
+
* **he-il**: Query language value for Hebrew (Israel). \
|
|
465
|
+
* **ga-ie**: Query language value for Irish (Ireland). \
|
|
466
|
+
* **kn-in**: Query language value for Kannada (India). \
|
|
467
|
+
* **ml-in**: Query language value for Malayalam (India). \
|
|
468
|
+
* **mr-in**: Query language value for Marathi (India). \
|
|
469
|
+
* **fa-ae**: Query language value for Persian (U.A.E.). \
|
|
470
|
+
* **pa-in**: Query language value for Punjabi (India). \
|
|
471
|
+
* **te-in**: Query language value for Telugu (India). \
|
|
472
|
+
* **ur-pk**: Query language value for Urdu (Pakistan).
|
|
473
|
+
*/
|
|
474
|
+
export type QueryLanguage = string;
|
|
475
|
+
/** Improve search recall by spell-correcting individual search query terms. */
|
|
476
|
+
export declare enum KnownQuerySpellerType {
|
|
477
|
+
/** Speller not enabled. */
|
|
478
|
+
None = "none",
|
|
479
|
+
/** Speller corrects individual query terms using a static lexicon for the language specified by the queryLanguage parameter. */
|
|
480
|
+
Lexicon = "lexicon"
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* Improve search recall by spell-correcting individual search query terms. \
|
|
484
|
+
* {@link KnownQuerySpellerType} can be used interchangeably with QuerySpellerType,
|
|
485
|
+
* this enum contains the known values that the service supports.
|
|
486
|
+
* ### Known values supported by the service
|
|
487
|
+
* **none**: Speller not enabled. \
|
|
488
|
+
* **lexicon**: Speller corrects individual query terms using a static lexicon for the language specified by the queryLanguage parameter.
|
|
489
|
+
*/
|
|
490
|
+
export type QuerySpellerType = string;
|
|
199
491
|
/** Allows the user to choose whether a semantic call should fail completely, or to return partial results. */
|
|
200
492
|
export declare enum KnownSemanticErrorMode {
|
|
201
493
|
/** 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. */
|
|
@@ -244,6 +536,22 @@ export declare enum KnownQueryCaptionType {
|
|
|
244
536
|
* **extractive**: Extracts captions from the matching documents that contain passages relevant to the search query.
|
|
245
537
|
*/
|
|
246
538
|
export type QueryCaptionType = string;
|
|
539
|
+
/** This parameter is only valid if the query type is `semantic`. When QueryRewrites is set to `generative`, the query terms are sent to a generate model which will produce 10 (default) rewrites to help increase the recall of the request. The requested count can be configured by appending the pipe character `|` followed by the `count-<number of rewrites>` option, such as `generative|count-3`. Defaults to `None`. */
|
|
540
|
+
export declare enum KnownQueryRewritesType {
|
|
541
|
+
/** Do not generate additional query rewrites for this query. */
|
|
542
|
+
None = "none",
|
|
543
|
+
/** Generate alternative query terms to increase the recall of a search request. */
|
|
544
|
+
Generative = "generative"
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* This parameter is only valid if the query type is `semantic`. When QueryRewrites is set to `generative`, the query terms are sent to a generate model which will produce 10 (default) rewrites to help increase the recall of the request. The requested count can be configured by appending the pipe character `|` followed by the `count-<number of rewrites>` option, such as `generative|count-3`. Defaults to `None`. \
|
|
548
|
+
* {@link KnownQueryRewritesType} can be used interchangeably with QueryRewritesType,
|
|
549
|
+
* this enum contains the known values that the service supports.
|
|
550
|
+
* ### Known values supported by the service
|
|
551
|
+
* **none**: Do not generate additional query rewrites for this query. \
|
|
552
|
+
* **generative**: Generate alternative query terms to increase the recall of a search request.
|
|
553
|
+
*/
|
|
554
|
+
export type QueryRewritesType = string;
|
|
247
555
|
export declare function vectorQueryUnionArraySerializer(result: Array<VectorQueryUnion>): any[];
|
|
248
556
|
export declare function vectorQueryUnionArrayDeserializer(result: Array<VectorQueryUnion>): any[];
|
|
249
557
|
/** The query parameters for vector and hybrid search queries. */
|
|
@@ -258,6 +566,12 @@ export interface VectorQuery {
|
|
|
258
566
|
oversampling?: number;
|
|
259
567
|
/** 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. */
|
|
260
568
|
weight?: number;
|
|
569
|
+
/** The threshold used for vector queries. Note this can only be set if all 'fields' use the same similarity metric. */
|
|
570
|
+
threshold?: VectorThresholdUnion;
|
|
571
|
+
/** The OData filter expression to apply to this specific vector query. If no filter expression is defined at the vector level, the expression defined in the top level filter parameter is used instead. */
|
|
572
|
+
filterOverride?: string;
|
|
573
|
+
/** Controls how many vectors can be matched from each document in a vector search query. Setting it to 1 ensures at most one vector per document is matched, guaranteeing results come from distinct documents. Setting it to 0 (unlimited) allows multiple relevant vectors from the same document to be matched. Default is 0. */
|
|
574
|
+
perDocumentVectorLimit?: number;
|
|
261
575
|
/** Type of query. */
|
|
262
576
|
/** The discriminator possible values: vector, text, imageUrl, imageBinary */
|
|
263
577
|
kind: VectorQueryKind;
|
|
@@ -268,6 +582,52 @@ export declare function vectorQueryDeserializer(item: any): VectorQuery;
|
|
|
268
582
|
export type VectorQueryUnion = VectorizedQuery | VectorizableTextQuery | VectorizableImageUrlQuery | VectorizableImageBinaryQuery | VectorQuery;
|
|
269
583
|
export declare function vectorQueryUnionSerializer(item: VectorQueryUnion): any;
|
|
270
584
|
export declare function vectorQueryUnionDeserializer(item: any): VectorQueryUnion;
|
|
585
|
+
/** The threshold used for vector queries. */
|
|
586
|
+
export interface VectorThreshold {
|
|
587
|
+
/** Type of threshold. */
|
|
588
|
+
/** The discriminator possible values: vectorSimilarity, searchScore */
|
|
589
|
+
kind: VectorThresholdKind;
|
|
590
|
+
}
|
|
591
|
+
export declare function vectorThresholdSerializer(item: VectorThreshold): any;
|
|
592
|
+
export declare function vectorThresholdDeserializer(item: any): VectorThreshold;
|
|
593
|
+
/** Alias for VectorThresholdUnion */
|
|
594
|
+
export type VectorThresholdUnion = VectorSimilarityThreshold | SearchScoreThreshold | VectorThreshold;
|
|
595
|
+
export declare function vectorThresholdUnionSerializer(item: VectorThresholdUnion): any;
|
|
596
|
+
export declare function vectorThresholdUnionDeserializer(item: any): VectorThresholdUnion;
|
|
597
|
+
/** The kind of threshold used to filter vector queries. */
|
|
598
|
+
export declare enum KnownVectorThresholdKind {
|
|
599
|
+
/** The results of the vector query will be filtered based on the vector similarity metric. Note this is the canonical definition of similarity metric, not the 'distance' version. The threshold direction (larger or smaller) will be chosen automatically according to the metric used by the field. */
|
|
600
|
+
VectorSimilarity = "vectorSimilarity",
|
|
601
|
+
/** The results of the vector query will filter based on the '@search.score' value. Note this is the @search.score returned as part of the search response. The threshold direction will be chosen for higher @search.score. */
|
|
602
|
+
SearchScore = "searchScore"
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* The kind of threshold used to filter vector queries. \
|
|
606
|
+
* {@link KnownVectorThresholdKind} can be used interchangeably with VectorThresholdKind,
|
|
607
|
+
* this enum contains the known values that the service supports.
|
|
608
|
+
* ### Known values supported by the service
|
|
609
|
+
* **vectorSimilarity**: The results of the vector query will be filtered based on the vector similarity metric. Note this is the canonical definition of similarity metric, not the 'distance' version. The threshold direction (larger or smaller) will be chosen automatically according to the metric used by the field. \
|
|
610
|
+
* **searchScore**: The results of the vector query will filter based on the '@search.score' value. Note this is the @search.score returned as part of the search response. The threshold direction will be chosen for higher @search.score.
|
|
611
|
+
*/
|
|
612
|
+
export type VectorThresholdKind = string;
|
|
613
|
+
/** The results of the vector query will be filtered based on the vector similarity metric. Note this is the canonical definition of similarity metric, not the 'distance' version. The threshold direction (larger or smaller) will be chosen automatically according to the metric used by the field. */
|
|
614
|
+
export interface VectorSimilarityThreshold extends VectorThreshold {
|
|
615
|
+
/** The threshold will filter based on the similarity metric value. Note this is the canonical definition of similarity metric, not the 'distance' version. The threshold direction (larger or smaller) will be chosen automatically according to the metric used by the field. */
|
|
616
|
+
value: number;
|
|
617
|
+
/** The kind of threshold used to filter vector queries */
|
|
618
|
+
kind: "vectorSimilarity";
|
|
619
|
+
}
|
|
620
|
+
export declare function vectorSimilarityThresholdSerializer(item: VectorSimilarityThreshold): any;
|
|
621
|
+
export declare function vectorSimilarityThresholdDeserializer(item: any): VectorSimilarityThreshold;
|
|
622
|
+
/** The results of the vector query will filter based on the ' */
|
|
623
|
+
export interface SearchScoreThreshold extends VectorThreshold {
|
|
624
|
+
/** The threshold will filter based on the ' */
|
|
625
|
+
value: number;
|
|
626
|
+
/** The kind of threshold used to filter vector queries */
|
|
627
|
+
kind: "searchScore";
|
|
628
|
+
}
|
|
629
|
+
export declare function searchScoreThresholdSerializer(item: SearchScoreThreshold): any;
|
|
630
|
+
export declare function searchScoreThresholdDeserializer(item: any): SearchScoreThreshold;
|
|
271
631
|
/** The kind of vector query being performed. */
|
|
272
632
|
export declare enum KnownVectorQueryKind {
|
|
273
633
|
/** Vector query where a raw vector value is provided. */
|
|
@@ -303,6 +663,8 @@ export declare function vectorizedQueryDeserializer(item: any): VectorizedQuery;
|
|
|
303
663
|
export interface VectorizableTextQuery extends VectorQuery {
|
|
304
664
|
/** The text to be vectorized to perform a vector search query. */
|
|
305
665
|
text: string;
|
|
666
|
+
/** Can be configured to let a generative model rewrite the query before sending it to be vectorized. */
|
|
667
|
+
queryRewrites?: QueryRewritesType;
|
|
306
668
|
/** The kind of vector query being performed. */
|
|
307
669
|
kind: "text";
|
|
308
670
|
}
|
|
@@ -345,6 +707,31 @@ export declare enum KnownVectorFilterMode {
|
|
|
345
707
|
* **strictPostFilter**: The filter will be applied after the global top-k candidate set of vector results is returned. This will result in fewer results than requested by the parameter 'k'.
|
|
346
708
|
*/
|
|
347
709
|
export type VectorFilterMode = string;
|
|
710
|
+
/** The query parameters to configure hybrid search behaviors. */
|
|
711
|
+
export interface HybridSearch {
|
|
712
|
+
/** Determines the maximum number of documents to be retrieved by the text query portion of a hybrid search request. Those documents will be combined with the documents matching the vector queries to produce a single final list of results. Choosing a larger maxTextRecallSize value will allow retrieving and paging through more documents (using the top and skip parameters), at the cost of higher resource utilization and higher latency. The value needs to be between 1 and 10,000. Default is 1000. */
|
|
713
|
+
maxTextRecallSize?: number;
|
|
714
|
+
/** Determines whether the count and facets should includes all documents that matched the search query, or only the documents that are retrieved within the 'maxTextRecallSize' window. */
|
|
715
|
+
countAndFacetMode?: HybridCountAndFacetMode;
|
|
716
|
+
}
|
|
717
|
+
export declare function hybridSearchSerializer(item: HybridSearch): any;
|
|
718
|
+
export declare function hybridSearchDeserializer(item: any): HybridSearch;
|
|
719
|
+
/** Determines whether the count and facets should includes all documents that matched the search query, or only the documents that are retrieved within the 'maxTextRecallSize' window. The default value is 'countAllResults'. */
|
|
720
|
+
export declare enum KnownHybridCountAndFacetMode {
|
|
721
|
+
/** Only include documents that were matched within the 'maxTextRecallSize' retrieval window when computing 'count' and 'facets'. */
|
|
722
|
+
CountRetrievableResults = "countRetrievableResults",
|
|
723
|
+
/** Include all documents that were matched by the search query when computing 'count' and 'facets', regardless of whether or not those documents are within the 'maxTextRecallSize' retrieval window. */
|
|
724
|
+
CountAllResults = "countAllResults"
|
|
725
|
+
}
|
|
726
|
+
/**
|
|
727
|
+
* Determines whether the count and facets should includes all documents that matched the search query, or only the documents that are retrieved within the 'maxTextRecallSize' window. The default value is 'countAllResults'. \
|
|
728
|
+
* {@link KnownHybridCountAndFacetMode} can be used interchangeably with HybridCountAndFacetMode,
|
|
729
|
+
* this enum contains the known values that the service supports.
|
|
730
|
+
* ### Known values supported by the service
|
|
731
|
+
* **countRetrievableResults**: Only include documents that were matched within the 'maxTextRecallSize' retrieval window when computing 'count' and 'facets'. \
|
|
732
|
+
* **countAllResults**: Include all documents that were matched by the search query when computing 'count' and 'facets', regardless of whether or not those documents are within the 'maxTextRecallSize' retrieval window.
|
|
733
|
+
*/
|
|
734
|
+
export type HybridCountAndFacetMode = string;
|
|
348
735
|
export declare function searchResultArraySerializer(result: Array<SearchResult>): any[];
|
|
349
736
|
export declare function searchResultArrayDeserializer(result: Array<SearchResult>): any[];
|
|
350
737
|
/** Contains a document found by a search query, plus associated metadata. */
|
|
@@ -379,10 +766,64 @@ export interface QueryCaptionResult {
|
|
|
379
766
|
export declare function queryCaptionResultDeserializer(item: any): QueryCaptionResult;
|
|
380
767
|
/** Contains debugging information that can be used to further explore your search results. */
|
|
381
768
|
export interface DocumentDebugInfo {
|
|
769
|
+
/** Contains debugging information specific to semantic ranking requests. */
|
|
770
|
+
readonly semantic?: SemanticDebugInfo;
|
|
382
771
|
/** Contains debugging information specific to vector and hybrid search. */
|
|
383
772
|
readonly vectors?: VectorsDebugInfo;
|
|
773
|
+
/** Contains debugging information specific to vectors matched within a collection of complex types. */
|
|
774
|
+
readonly innerHits?: Record<string, QueryResultDocumentInnerHit[]>;
|
|
384
775
|
}
|
|
385
776
|
export declare function documentDebugInfoDeserializer(item: any): DocumentDebugInfo;
|
|
777
|
+
/** Contains debugging information specific to semantic ranking requests. */
|
|
778
|
+
export interface SemanticDebugInfo {
|
|
779
|
+
/** The title field that was sent to the semantic enrichment process, as well as how it was used */
|
|
780
|
+
readonly titleField?: QueryResultDocumentSemanticField;
|
|
781
|
+
/** The content fields that were sent to the semantic enrichment process, as well as how they were used */
|
|
782
|
+
readonly contentFields?: QueryResultDocumentSemanticField[];
|
|
783
|
+
/** The keyword fields that were sent to the semantic enrichment process, as well as how they were used */
|
|
784
|
+
readonly keywordFields?: QueryResultDocumentSemanticField[];
|
|
785
|
+
/** The raw concatenated strings that were sent to the semantic enrichment process. */
|
|
786
|
+
readonly rerankerInput?: QueryResultDocumentRerankerInput;
|
|
787
|
+
}
|
|
788
|
+
export declare function semanticDebugInfoDeserializer(item: any): SemanticDebugInfo;
|
|
789
|
+
/** Description of fields that were sent to the semantic enrichment process, as well as how they were used */
|
|
790
|
+
export interface QueryResultDocumentSemanticField {
|
|
791
|
+
/** The name of the field that was sent to the semantic enrichment process */
|
|
792
|
+
readonly name?: string;
|
|
793
|
+
/** The way the field was used for the semantic enrichment process (fully used, partially used, or unused) */
|
|
794
|
+
readonly state?: SemanticFieldState;
|
|
795
|
+
}
|
|
796
|
+
export declare function queryResultDocumentSemanticFieldDeserializer(item: any): QueryResultDocumentSemanticField;
|
|
797
|
+
/** The way the field was used for the semantic enrichment process. */
|
|
798
|
+
export declare enum KnownSemanticFieldState {
|
|
799
|
+
/** The field was fully used for semantic enrichment. */
|
|
800
|
+
Used = "used",
|
|
801
|
+
/** The field was not used for semantic enrichment. */
|
|
802
|
+
Unused = "unused",
|
|
803
|
+
/** The field was partially used for semantic enrichment. */
|
|
804
|
+
Partial = "partial"
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* The way the field was used for the semantic enrichment process. \
|
|
808
|
+
* {@link KnownSemanticFieldState} can be used interchangeably with SemanticFieldState,
|
|
809
|
+
* this enum contains the known values that the service supports.
|
|
810
|
+
* ### Known values supported by the service
|
|
811
|
+
* **used**: The field was fully used for semantic enrichment. \
|
|
812
|
+
* **unused**: The field was not used for semantic enrichment. \
|
|
813
|
+
* **partial**: The field was partially used for semantic enrichment.
|
|
814
|
+
*/
|
|
815
|
+
export type SemanticFieldState = string;
|
|
816
|
+
export declare function queryResultDocumentSemanticFieldArrayDeserializer(result: Array<QueryResultDocumentSemanticField>): any[];
|
|
817
|
+
/** The raw concatenated strings that were sent to the semantic enrichment process. */
|
|
818
|
+
export interface QueryResultDocumentRerankerInput {
|
|
819
|
+
/** The raw string for the title field that was used for semantic enrichment. */
|
|
820
|
+
readonly title?: string;
|
|
821
|
+
/** The raw concatenated strings for the content fields that were used for semantic enrichment. */
|
|
822
|
+
readonly content?: string;
|
|
823
|
+
/** The raw concatenated strings for the keyword fields that were used for semantic enrichment. */
|
|
824
|
+
readonly keywords?: string;
|
|
825
|
+
}
|
|
826
|
+
export declare function queryResultDocumentRerankerInputDeserializer(item: any): QueryResultDocumentRerankerInput;
|
|
386
827
|
/** "Contains debugging information specific to vector and hybrid search.") */
|
|
387
828
|
export interface VectorsDebugInfo {
|
|
388
829
|
/** The breakdown of subscores of the document prior to the chosen result set fusion/combination method such as RRF. */
|
|
@@ -415,6 +856,16 @@ export interface SingleVectorFieldResult {
|
|
|
415
856
|
readonly vectorSimilarity?: number;
|
|
416
857
|
}
|
|
417
858
|
export declare function singleVectorFieldResultDeserializer(item: any): SingleVectorFieldResult;
|
|
859
|
+
export declare function queryResultDocumentInnerHitArrayRecordDeserializer(item: Record<string, any>): Record<string, Array<QueryResultDocumentInnerHit>>;
|
|
860
|
+
export declare function queryResultDocumentInnerHitArrayDeserializer(result: Array<QueryResultDocumentInnerHit>): any[];
|
|
861
|
+
/** Detailed scoring information for an individual element of a complex collection. */
|
|
862
|
+
export interface QueryResultDocumentInnerHit {
|
|
863
|
+
/** Position of this specific matching element within it's original collection. Position starts at 0. */
|
|
864
|
+
readonly ordinal?: number;
|
|
865
|
+
/** Detailed scoring information for an individual element of a complex collection that matched a vector query. */
|
|
866
|
+
readonly vectors?: Record<string, SingleVectorFieldResult>[];
|
|
867
|
+
}
|
|
868
|
+
export declare function queryResultDocumentInnerHitDeserializer(item: any): QueryResultDocumentInnerHit;
|
|
418
869
|
/** Reason that a partial response was returned for a semantic ranking request. */
|
|
419
870
|
export declare enum KnownSemanticErrorReason {
|
|
420
871
|
/** If `semanticMaxWaitInMilliseconds` was set and the semantic processing duration exceeded that value. Only the base results were returned. */
|
|
@@ -450,6 +901,19 @@ export declare enum KnownSemanticSearchResultsType {
|
|
|
450
901
|
* **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.
|
|
451
902
|
*/
|
|
452
903
|
export type SemanticSearchResultsType = string;
|
|
904
|
+
/** Type of query rewrite that was used for this request. */
|
|
905
|
+
export declare enum KnownSemanticQueryRewritesResultType {
|
|
906
|
+
/** Query rewrites were not successfully generated for this request. Only the original query was used to retrieve the results. */
|
|
907
|
+
OriginalQueryOnly = "originalQueryOnly"
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
* Type of query rewrite that was used for this request. \
|
|
911
|
+
* {@link KnownSemanticQueryRewritesResultType} can be used interchangeably with SemanticQueryRewritesResultType,
|
|
912
|
+
* this enum contains the known values that the service supports.
|
|
913
|
+
* ### Known values supported by the service
|
|
914
|
+
* **originalQueryOnly**: Query rewrites were not successfully generated for this request. Only the original query was used to retrieve the results.
|
|
915
|
+
*/
|
|
916
|
+
export type SemanticQueryRewritesResultType = string;
|
|
453
917
|
/** A document retrieved via a document lookup operation. */
|
|
454
918
|
export interface LookupDocument {
|
|
455
919
|
/** Additional properties */
|
|
@@ -511,7 +975,7 @@ export interface IndexingResult {
|
|
|
511
975
|
/** 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. */
|
|
512
976
|
readonly statusCode: number;
|
|
513
977
|
}
|
|
514
|
-
export declare function indexingResultSerializer(
|
|
978
|
+
export declare function indexingResultSerializer(_item: IndexingResult): any;
|
|
515
979
|
export declare function indexingResultDeserializer(item: any): IndexingResult;
|
|
516
980
|
/** The result of Autocomplete query. */
|
|
517
981
|
export interface AutocompleteResult {
|
|
@@ -530,7 +994,7 @@ export interface AutocompleteItem {
|
|
|
530
994
|
/** The query along with the completed term. */
|
|
531
995
|
readonly queryPlusText: string;
|
|
532
996
|
}
|
|
533
|
-
export declare function autocompleteItemSerializer(
|
|
997
|
+
export declare function autocompleteItemSerializer(_item: AutocompleteItem): any;
|
|
534
998
|
export declare function autocompleteItemDeserializer(item: any): AutocompleteItem;
|
|
535
999
|
/** Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context in producing autocomplete terms. */
|
|
536
1000
|
export type AutocompleteMode = "oneTerm" | "twoTerms" | "oneTermWithContext";
|