@azure/search-documents 11.3.0-beta.4 → 11.3.0-beta.5
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/CHANGELOG.md +22 -0
- package/dist/index.js +282 -18
- package/dist/index.js.map +1 -1
- package/dist-esm/src/constants.js +1 -1
- package/dist-esm/src/constants.js.map +1 -1
- package/dist-esm/src/generated/data/models/index.js +141 -1
- package/dist-esm/src/generated/data/models/index.js.map +1 -1
- package/dist-esm/src/generated/data/models/mappers.js +6 -0
- package/dist-esm/src/generated/data/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/data/models/parameters.js +9 -0
- package/dist-esm/src/generated/data/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/data/operations/documents.js +1 -0
- package/dist-esm/src/generated/data/operations/documents.js.map +1 -1
- package/dist-esm/src/generated/data/searchClientContext.js +1 -1
- package/dist-esm/src/generated/data/searchClientContext.js.map +1 -1
- package/dist-esm/src/generated/service/models/index.js.map +1 -1
- package/dist-esm/src/generated/service/models/mappers.js +109 -7
- package/dist-esm/src/generated/service/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/service/searchServiceClientContext.js +1 -1
- package/dist-esm/src/generated/service/searchServiceClientContext.js.map +1 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/indexModels.js.map +1 -1
- package/dist-esm/src/searchIndexerClient.js +3 -3
- package/dist-esm/src/searchIndexerClient.js.map +1 -1
- package/dist-esm/src/serialization.js +1 -1
- package/dist-esm/src/serialization.js.map +1 -1
- package/dist-esm/src/serviceModels.js.map +1 -1
- package/dist-esm/src/serviceUtils.js +4 -2
- package/dist-esm/src/serviceUtils.js.map +1 -1
- package/package.json +1 -1
- package/types/search-documents.d.ts +298 -47
|
@@ -1265,45 +1265,6 @@ export declare interface IndexDocumentsResult {
|
|
|
1265
1265
|
readonly results: IndexingResult[];
|
|
1266
1266
|
}
|
|
1267
1267
|
|
|
1268
|
-
/** Represents all of the state that defines and dictates the indexer's current execution. */
|
|
1269
|
-
export declare interface IndexerCurrentState {
|
|
1270
|
-
/**
|
|
1271
|
-
* The mode the indexer is running in.
|
|
1272
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1273
|
-
*/
|
|
1274
|
-
readonly mode?: IndexingMode;
|
|
1275
|
-
/**
|
|
1276
|
-
* Change tracking state used when indexing starts on all documents in the datasource.
|
|
1277
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1278
|
-
*/
|
|
1279
|
-
readonly allDocsInitialChangeTrackingState?: string;
|
|
1280
|
-
/**
|
|
1281
|
-
* Change tracking state value when indexing finishes on all documents in the datasource.
|
|
1282
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1283
|
-
*/
|
|
1284
|
-
readonly allDocsFinalChangeTrackingState?: string;
|
|
1285
|
-
/**
|
|
1286
|
-
* Change tracking state used when indexing starts on select, reset documents in the datasource.
|
|
1287
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1288
|
-
*/
|
|
1289
|
-
readonly resetDocsInitialChangeTrackingState?: string;
|
|
1290
|
-
/**
|
|
1291
|
-
* Change tracking state value when indexing finishes on select, reset documents in the datasource.
|
|
1292
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1293
|
-
*/
|
|
1294
|
-
readonly resetDocsFinalChangeTrackingState?: string;
|
|
1295
|
-
/**
|
|
1296
|
-
* The list of document keys that have been reset. The document key is the document's unique identifier for the data in the search index. The indexer will prioritize selectively re-ingesting these keys.
|
|
1297
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1298
|
-
*/
|
|
1299
|
-
readonly resetDocumentKeys?: string[];
|
|
1300
|
-
/**
|
|
1301
|
-
* The list of datasource document ids that have been reset. The datasource document id is the unique identifier for the data in the datasource. The indexer will prioritize selectively re-ingesting these ids.
|
|
1302
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1303
|
-
*/
|
|
1304
|
-
readonly resetDatasourceDocumentIds?: string[];
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
1268
|
/**
|
|
1308
1269
|
* Defines values for IndexerExecutionEnvironment. \
|
|
1309
1270
|
* {@link KnownIndexerExecutionEnvironment} can be used interchangeably with IndexerExecutionEnvironment,
|
|
@@ -1330,7 +1291,7 @@ export declare interface IndexerExecutionResult {
|
|
|
1330
1291
|
* All of the state that defines and dictates the indexer's current execution.
|
|
1331
1292
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1332
1293
|
*/
|
|
1333
|
-
readonly currentState?:
|
|
1294
|
+
readonly currentState?: IndexerState;
|
|
1334
1295
|
/**
|
|
1335
1296
|
* The error message indicating the top-level error, if any.
|
|
1336
1297
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1390,6 +1351,45 @@ export declare type IndexerExecutionStatus = "transientFailure" | "success" | "i
|
|
|
1390
1351
|
*/
|
|
1391
1352
|
export declare type IndexerExecutionStatusDetail = string;
|
|
1392
1353
|
|
|
1354
|
+
/** Represents all of the state that defines and dictates the indexer's current execution. */
|
|
1355
|
+
export declare interface IndexerState {
|
|
1356
|
+
/**
|
|
1357
|
+
* The mode the indexer is running in.
|
|
1358
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1359
|
+
*/
|
|
1360
|
+
readonly mode?: IndexingMode;
|
|
1361
|
+
/**
|
|
1362
|
+
* Change tracking state used when indexing starts on all documents in the datasource.
|
|
1363
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1364
|
+
*/
|
|
1365
|
+
readonly allDocumentsInitialChangeTrackingState?: string;
|
|
1366
|
+
/**
|
|
1367
|
+
* Change tracking state value when indexing finishes on all documents in the datasource.
|
|
1368
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1369
|
+
*/
|
|
1370
|
+
readonly allDocumentsFinalChangeTrackingState?: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* Change tracking state used when indexing starts on select, reset documents in the datasource.
|
|
1373
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1374
|
+
*/
|
|
1375
|
+
readonly resetDocumentsInitialChangeTrackingState?: string;
|
|
1376
|
+
/**
|
|
1377
|
+
* Change tracking state value when indexing finishes on select, reset documents in the datasource.
|
|
1378
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1379
|
+
*/
|
|
1380
|
+
readonly resetDocumentsFinalChangeTrackingState?: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* The list of document keys that have been reset. The document key is the document's unique identifier for the data in the search index. The indexer will prioritize selectively re-ingesting these keys.
|
|
1383
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1384
|
+
*/
|
|
1385
|
+
readonly resetDocumentKeys?: string[];
|
|
1386
|
+
/**
|
|
1387
|
+
* The list of datasource document ids that have been reset. The datasource document id is the unique identifier for the data in the datasource. The indexer will prioritize selectively re-ingesting these ids.
|
|
1388
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1389
|
+
*/
|
|
1390
|
+
readonly resetDatasourceDocumentIds?: string[];
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
1393
|
/** Defines values for IndexerStatus. */
|
|
1394
1394
|
export declare type IndexerStatus = "unknown" | "error" | "running";
|
|
1395
1395
|
|
|
@@ -2499,8 +2499,148 @@ export declare enum KnownQueryCaptionType {
|
|
|
2499
2499
|
export declare enum KnownQueryLanguage {
|
|
2500
2500
|
/** Query language not specified. */
|
|
2501
2501
|
None = "none",
|
|
2502
|
-
/** English */
|
|
2503
|
-
EnUs = "en-us"
|
|
2502
|
+
/** Query language value for English (United States). */
|
|
2503
|
+
EnUs = "en-us",
|
|
2504
|
+
/** Query language value for English (Great Britain). */
|
|
2505
|
+
EnGb = "en-gb",
|
|
2506
|
+
/** Query language value for English (India). */
|
|
2507
|
+
EnIn = "en-in",
|
|
2508
|
+
/** Query language value for English (Canada). */
|
|
2509
|
+
EnCa = "en-ca",
|
|
2510
|
+
/** Query language value for English (Australia). */
|
|
2511
|
+
EnAu = "en-au",
|
|
2512
|
+
/** Query language value for French (France). */
|
|
2513
|
+
FrFr = "fr-fr",
|
|
2514
|
+
/** Query language value for French (Canada). */
|
|
2515
|
+
FrCa = "fr-ca",
|
|
2516
|
+
/** Query language value for German (Germany). */
|
|
2517
|
+
DeDe = "de-de",
|
|
2518
|
+
/** Query language value for Spanish (Spain). */
|
|
2519
|
+
EsEs = "es-es",
|
|
2520
|
+
/** Query language value for Spanish (Mexico). */
|
|
2521
|
+
EsMx = "es-mx",
|
|
2522
|
+
/** Query language value for Chinese (China). */
|
|
2523
|
+
ZhCn = "zh-cn",
|
|
2524
|
+
/** Query language value for Chinese (Taiwan). */
|
|
2525
|
+
ZhTw = "zh-tw",
|
|
2526
|
+
/** Query language value for Portuguese (Brazil). */
|
|
2527
|
+
PtBr = "pt-br",
|
|
2528
|
+
/** Query language value for Portuguese (Portugal). */
|
|
2529
|
+
PtPt = "pt-pt",
|
|
2530
|
+
/** Query language value for Italian (Italy). */
|
|
2531
|
+
ItIt = "it-it",
|
|
2532
|
+
/** Query language value for Japanese (Japan). */
|
|
2533
|
+
JaJp = "ja-jp",
|
|
2534
|
+
/** Query language value for Korean (Korea). */
|
|
2535
|
+
KoKr = "ko-kr",
|
|
2536
|
+
/** Query language value for Russian (Russia). */
|
|
2537
|
+
RuRu = "ru-ru",
|
|
2538
|
+
/** Query language value for Czech (Czech Republic). */
|
|
2539
|
+
CsCz = "cs-cz",
|
|
2540
|
+
/** Query language value for Dutch (Belgium). */
|
|
2541
|
+
NlBe = "nl-be",
|
|
2542
|
+
/** Query language value for Dutch (Netherlands). */
|
|
2543
|
+
NlNl = "nl-nl",
|
|
2544
|
+
/** Query language value for Hungarian (Hungary). */
|
|
2545
|
+
HuHu = "hu-hu",
|
|
2546
|
+
/** Query language value for Polish (Poland). */
|
|
2547
|
+
PlPl = "pl-pl",
|
|
2548
|
+
/** Query language value for Swedish (Sweden). */
|
|
2549
|
+
SvSe = "sv-se",
|
|
2550
|
+
/** Query language value for Turkish (Turkey). */
|
|
2551
|
+
TrTr = "tr-tr",
|
|
2552
|
+
/** Query language value for Hindi (India). */
|
|
2553
|
+
HiIn = "hi-in",
|
|
2554
|
+
/** Query language value for Arabic (Saudi Arabia). */
|
|
2555
|
+
ArSa = "ar-sa",
|
|
2556
|
+
/** Query language value for Arabic (Egypt). */
|
|
2557
|
+
ArEg = "ar-eg",
|
|
2558
|
+
/** Query language value for Arabic (Morocco). */
|
|
2559
|
+
ArMa = "ar-ma",
|
|
2560
|
+
/** Query language value for Arabic (Kuwait). */
|
|
2561
|
+
ArKw = "ar-kw",
|
|
2562
|
+
/** Query language value for Arabic (Jordan). */
|
|
2563
|
+
ArJo = "ar-jo",
|
|
2564
|
+
/** Query language value for Danish (Denmark). */
|
|
2565
|
+
DaDk = "da-dk",
|
|
2566
|
+
/** Query language value for Norwegian (Normway). */
|
|
2567
|
+
NoNo = "no-no",
|
|
2568
|
+
/** Query language value for Bulgarian (Bulgary). */
|
|
2569
|
+
BgBg = "bg-bg",
|
|
2570
|
+
/** Query language value for Croatian (Croatia). */
|
|
2571
|
+
HrHr = "hr-hr",
|
|
2572
|
+
/** Query language value for Croatian (Bosnia and Herzegovina). */
|
|
2573
|
+
HrBa = "hr-ba",
|
|
2574
|
+
/** Query language value for Malay (Malaysia). */
|
|
2575
|
+
MsMy = "ms-my",
|
|
2576
|
+
/** Query language value for Malay (Brunei Darussalam). */
|
|
2577
|
+
MsBn = "ms-bn",
|
|
2578
|
+
/** Query language value for Slovenian (Slovenia). */
|
|
2579
|
+
SlSl = "sl-sl",
|
|
2580
|
+
/** Query language value for Tamil (India). */
|
|
2581
|
+
TaIn = "ta-in",
|
|
2582
|
+
/** Query language value for Vietnamese (Viet Nam). */
|
|
2583
|
+
ViVn = "vi-vn",
|
|
2584
|
+
/** Query language value for Greek (Greece). */
|
|
2585
|
+
ElGr = "el-gr",
|
|
2586
|
+
/** Query language value for Romanian (Romania). */
|
|
2587
|
+
RoRo = "ro-ro",
|
|
2588
|
+
/** Query language value for Icelandic (Iceland). */
|
|
2589
|
+
IsIs = "is-is",
|
|
2590
|
+
/** Query language value for Indonesian (Indonesia). */
|
|
2591
|
+
IdId = "id-id",
|
|
2592
|
+
/** Query language value for Thai (Thailand). */
|
|
2593
|
+
ThTh = "th-th",
|
|
2594
|
+
/** Query language value for Lithuanian (Lithuania). */
|
|
2595
|
+
LtLt = "lt-lt",
|
|
2596
|
+
/** Query language value for Ukrainian (Ukraine). */
|
|
2597
|
+
UkUa = "uk-ua",
|
|
2598
|
+
/** Query language value for Latvian (Latvia). */
|
|
2599
|
+
LvLv = "lv-lv",
|
|
2600
|
+
/** Query language value for Estonian (Estonia). */
|
|
2601
|
+
EtEe = "et-ee",
|
|
2602
|
+
/** Query language value for Catalan (Spain). */
|
|
2603
|
+
CaEs = "ca-es",
|
|
2604
|
+
/** Query language value for Finnish (Finland). */
|
|
2605
|
+
FiFi = "fi-fi",
|
|
2606
|
+
/** Query language value for Serbian (Bosnia and Herzegovina). */
|
|
2607
|
+
SrBa = "sr-ba",
|
|
2608
|
+
/** Query language value for Serbian (Montenegro). */
|
|
2609
|
+
SrMe = "sr-me",
|
|
2610
|
+
/** Query language value for Serbian (Serbia). */
|
|
2611
|
+
SrRs = "sr-rs",
|
|
2612
|
+
/** Query language value for Slovak (Slovakia). */
|
|
2613
|
+
SkSk = "sk-sk",
|
|
2614
|
+
/** Query language value for Norwegian (Norway). */
|
|
2615
|
+
NbNo = "nb-no",
|
|
2616
|
+
/** Query language value for Armenian (Armenia). */
|
|
2617
|
+
HyAm = "hy-am",
|
|
2618
|
+
/** Query language value for Bengali (India). */
|
|
2619
|
+
BnIn = "bn-in",
|
|
2620
|
+
/** Query language value for Basque (Spain). */
|
|
2621
|
+
EuEs = "eu-es",
|
|
2622
|
+
/** Query language value for Galician (Spain). */
|
|
2623
|
+
GlEs = "gl-es",
|
|
2624
|
+
/** Query language value for Gujarati (India). */
|
|
2625
|
+
GuIn = "gu-in",
|
|
2626
|
+
/** Query language value for Hebrew (Israel). */
|
|
2627
|
+
HeIl = "he-il",
|
|
2628
|
+
/** Query language value for Irish (Ireland). */
|
|
2629
|
+
GaIe = "ga-ie",
|
|
2630
|
+
/** Query language value for Kannada (India). */
|
|
2631
|
+
KnIn = "kn-in",
|
|
2632
|
+
/** Query language value for Malayalam (India). */
|
|
2633
|
+
MlIn = "ml-in",
|
|
2634
|
+
/** Query language value for Marathi (India). */
|
|
2635
|
+
MrIn = "mr-in",
|
|
2636
|
+
/** Query language value for Persian (U.A.E.). */
|
|
2637
|
+
FaAe = "fa-ae",
|
|
2638
|
+
/** Query language value for Punjabi (India). */
|
|
2639
|
+
PaIn = "pa-in",
|
|
2640
|
+
/** Query language value for Telugu (India). */
|
|
2641
|
+
TeIn = "te-in",
|
|
2642
|
+
/** Query language value for Urdu (Pakistan). */
|
|
2643
|
+
UrPk = "ur-pk"
|
|
2504
2644
|
}
|
|
2505
2645
|
|
|
2506
2646
|
/** Known values of {@link QuerySpellerType} that the service accepts. */
|
|
@@ -3687,6 +3827,16 @@ export declare type PIIDetectionSkill = BaseSearchIndexerSkill & {
|
|
|
3687
3827
|
*/
|
|
3688
3828
|
export declare type PIIDetectionSkillMaskingMode = string;
|
|
3689
3829
|
|
|
3830
|
+
/** Describes the title, content, and keywords fields to be used for semantic ranking, captions, highlights, and answers. */
|
|
3831
|
+
export declare interface PrioritizedFields {
|
|
3832
|
+
/** Defines the title field to be used for semantic ranking, captions, highlights, and answers. If you don't have a title field in your index, leave this blank. */
|
|
3833
|
+
titleField?: SemanticField;
|
|
3834
|
+
/** Defines the content fields to be used for semantic ranking, captions, highlights, and answers. For the best result, the selected fields should contain text in natural language form. The order of the fields in the array represents their priority. Fields with lower priority may get truncated if the content is long. */
|
|
3835
|
+
prioritizedContentFields?: SemanticField[];
|
|
3836
|
+
/** Defines the keyword fields to be used for semantic ranking, captions, highlights, and answers. For the best result, the selected fields should contain a list of keywords. The order of the fields in the array represents their priority. Fields with lower priority may get truncated if the content is long. */
|
|
3837
|
+
prioritizedKeywordsFields?: SemanticField[];
|
|
3838
|
+
}
|
|
3839
|
+
|
|
3690
3840
|
/**
|
|
3691
3841
|
* Defines values for QueryAnswerType. \
|
|
3692
3842
|
* {@link KnownQueryAnswerType} can be used interchangeably with QueryAnswerType,
|
|
@@ -3713,7 +3863,77 @@ export declare type QueryCaptionType = string;
|
|
|
3713
3863
|
* this enum contains the known values that the service supports.
|
|
3714
3864
|
* ### Known values supported by the service
|
|
3715
3865
|
* **none**: Query language not specified. \
|
|
3716
|
-
* **en-us**: English
|
|
3866
|
+
* **en-us**: Query language value for English (United States). \
|
|
3867
|
+
* **en-gb**: Query language value for English (Great Britain). \
|
|
3868
|
+
* **en-in**: Query language value for English (India). \
|
|
3869
|
+
* **en-ca**: Query language value for English (Canada). \
|
|
3870
|
+
* **en-au**: Query language value for English (Australia). \
|
|
3871
|
+
* **fr-fr**: Query language value for French (France). \
|
|
3872
|
+
* **fr-ca**: Query language value for French (Canada). \
|
|
3873
|
+
* **de-de**: Query language value for German (Germany). \
|
|
3874
|
+
* **es-es**: Query language value for Spanish (Spain). \
|
|
3875
|
+
* **es-mx**: Query language value for Spanish (Mexico). \
|
|
3876
|
+
* **zh-cn**: Query language value for Chinese (China). \
|
|
3877
|
+
* **zh-tw**: Query language value for Chinese (Taiwan). \
|
|
3878
|
+
* **pt-br**: Query language value for Portuguese (Brazil). \
|
|
3879
|
+
* **pt-pt**: Query language value for Portuguese (Portugal). \
|
|
3880
|
+
* **it-it**: Query language value for Italian (Italy). \
|
|
3881
|
+
* **ja-jp**: Query language value for Japanese (Japan). \
|
|
3882
|
+
* **ko-kr**: Query language value for Korean (Korea). \
|
|
3883
|
+
* **ru-ru**: Query language value for Russian (Russia). \
|
|
3884
|
+
* **cs-cz**: Query language value for Czech (Czech Republic). \
|
|
3885
|
+
* **nl-be**: Query language value for Dutch (Belgium). \
|
|
3886
|
+
* **nl-nl**: Query language value for Dutch (Netherlands). \
|
|
3887
|
+
* **hu-hu**: Query language value for Hungarian (Hungary). \
|
|
3888
|
+
* **pl-pl**: Query language value for Polish (Poland). \
|
|
3889
|
+
* **sv-se**: Query language value for Swedish (Sweden). \
|
|
3890
|
+
* **tr-tr**: Query language value for Turkish (Turkey). \
|
|
3891
|
+
* **hi-in**: Query language value for Hindi (India). \
|
|
3892
|
+
* **ar-sa**: Query language value for Arabic (Saudi Arabia). \
|
|
3893
|
+
* **ar-eg**: Query language value for Arabic (Egypt). \
|
|
3894
|
+
* **ar-ma**: Query language value for Arabic (Morocco). \
|
|
3895
|
+
* **ar-kw**: Query language value for Arabic (Kuwait). \
|
|
3896
|
+
* **ar-jo**: Query language value for Arabic (Jordan). \
|
|
3897
|
+
* **da-dk**: Query language value for Danish (Denmark). \
|
|
3898
|
+
* **no-no**: Query language value for Norwegian (Normway). \
|
|
3899
|
+
* **bg-bg**: Query language value for Bulgarian (Bulgary). \
|
|
3900
|
+
* **hr-hr**: Query language value for Croatian (Croatia). \
|
|
3901
|
+
* **hr-ba**: Query language value for Croatian (Bosnia and Herzegovina). \
|
|
3902
|
+
* **ms-my**: Query language value for Malay (Malaysia). \
|
|
3903
|
+
* **ms-bn**: Query language value for Malay (Brunei Darussalam). \
|
|
3904
|
+
* **sl-sl**: Query language value for Slovenian (Slovenia). \
|
|
3905
|
+
* **ta-in**: Query language value for Tamil (India). \
|
|
3906
|
+
* **vi-vn**: Query language value for Vietnamese (Viet Nam). \
|
|
3907
|
+
* **el-gr**: Query language value for Greek (Greece). \
|
|
3908
|
+
* **ro-ro**: Query language value for Romanian (Romania). \
|
|
3909
|
+
* **is-is**: Query language value for Icelandic (Iceland). \
|
|
3910
|
+
* **id-id**: Query language value for Indonesian (Indonesia). \
|
|
3911
|
+
* **th-th**: Query language value for Thai (Thailand). \
|
|
3912
|
+
* **lt-lt**: Query language value for Lithuanian (Lithuania). \
|
|
3913
|
+
* **uk-ua**: Query language value for Ukrainian (Ukraine). \
|
|
3914
|
+
* **lv-lv**: Query language value for Latvian (Latvia). \
|
|
3915
|
+
* **et-ee**: Query language value for Estonian (Estonia). \
|
|
3916
|
+
* **ca-es**: Query language value for Catalan (Spain). \
|
|
3917
|
+
* **fi-fi**: Query language value for Finnish (Finland). \
|
|
3918
|
+
* **sr-ba**: Query language value for Serbian (Bosnia and Herzegovina). \
|
|
3919
|
+
* **sr-me**: Query language value for Serbian (Montenegro). \
|
|
3920
|
+
* **sr-rs**: Query language value for Serbian (Serbia). \
|
|
3921
|
+
* **sk-sk**: Query language value for Slovak (Slovakia). \
|
|
3922
|
+
* **nb-no**: Query language value for Norwegian (Norway). \
|
|
3923
|
+
* **hy-am**: Query language value for Armenian (Armenia). \
|
|
3924
|
+
* **bn-in**: Query language value for Bengali (India). \
|
|
3925
|
+
* **eu-es**: Query language value for Basque (Spain). \
|
|
3926
|
+
* **gl-es**: Query language value for Galician (Spain). \
|
|
3927
|
+
* **gu-in**: Query language value for Gujarati (India). \
|
|
3928
|
+
* **he-il**: Query language value for Hebrew (Israel). \
|
|
3929
|
+
* **ga-ie**: Query language value for Irish (Ireland). \
|
|
3930
|
+
* **kn-in**: Query language value for Kannada (India). \
|
|
3931
|
+
* **ml-in**: Query language value for Malayalam (India). \
|
|
3932
|
+
* **mr-in**: Query language value for Marathi (India). \
|
|
3933
|
+
* **fa-ae**: Query language value for Persian (U.A.E.). \
|
|
3934
|
+
* **pa-in**: Query language value for Punjabi (India). \
|
|
3935
|
+
* **te-in**: Query language value for Telugu (India). \
|
|
3936
|
+
* **ur-pk**: Query language value for Urdu (Pakistan).
|
|
3717
3937
|
*/
|
|
3718
3938
|
export declare type QueryLanguage = string;
|
|
3719
3939
|
|
|
@@ -3749,7 +3969,7 @@ export declare type RegexFlags = string;
|
|
|
3749
3969
|
/**
|
|
3750
3970
|
* Options for reset docs operation.
|
|
3751
3971
|
*/
|
|
3752
|
-
export declare interface
|
|
3972
|
+
export declare interface ResetDocumentsOptions extends OperationOptions {
|
|
3753
3973
|
/** document keys to be reset */
|
|
3754
3974
|
documentKeys?: string[];
|
|
3755
3975
|
/** datasource document identifiers to be reset */
|
|
@@ -3766,7 +3986,10 @@ export declare type ResetIndexerOptions = OperationOptions;
|
|
|
3766
3986
|
/**
|
|
3767
3987
|
* Options for reset skills operation.
|
|
3768
3988
|
*/
|
|
3769
|
-
export declare
|
|
3989
|
+
export declare interface ResetSkillsOptions extends OperationOptions {
|
|
3990
|
+
/** the names of skills to be reset. */
|
|
3991
|
+
skillNames?: string[];
|
|
3992
|
+
}
|
|
3770
3993
|
|
|
3771
3994
|
/** Represents a resource's usage and quota. */
|
|
3772
3995
|
export declare interface ResourceCounter {
|
|
@@ -4103,6 +4326,10 @@ export declare interface SearchIndex {
|
|
|
4103
4326
|
* be modified on existing indexes. If null, the ClassicSimilarity algorithm is used.
|
|
4104
4327
|
*/
|
|
4105
4328
|
similarity?: SimilarityAlgorithm;
|
|
4329
|
+
/**
|
|
4330
|
+
* Defines parameters for a search index that influence semantic capabilities.
|
|
4331
|
+
*/
|
|
4332
|
+
semanticSettings?: SemanticSettings;
|
|
4106
4333
|
/**
|
|
4107
4334
|
* The ETag of the index.
|
|
4108
4335
|
*/
|
|
@@ -4490,14 +4717,14 @@ export declare class SearchIndexerClient {
|
|
|
4490
4717
|
* @param indexerName - The name of the indexer to reset documents for.
|
|
4491
4718
|
* @param options - Additional optional arguments.
|
|
4492
4719
|
*/
|
|
4493
|
-
|
|
4720
|
+
resetDocuments(indexerName: string, options?: ResetDocumentsOptions): Promise<void>;
|
|
4494
4721
|
/**
|
|
4495
4722
|
* Reset an existing skillset in a search service.
|
|
4496
4723
|
* @param skillsetName - The name of the skillset to reset.
|
|
4497
4724
|
* @param skillNames - The names of skills to reset.
|
|
4498
4725
|
* @param options - The options parameters.
|
|
4499
4726
|
*/
|
|
4500
|
-
resetSkills(skillsetName: string,
|
|
4727
|
+
resetSkills(skillsetName: string, options?: ResetSkillsOptions): Promise<void>;
|
|
4501
4728
|
}
|
|
4502
4729
|
|
|
4503
4730
|
/**
|
|
@@ -5148,6 +5375,11 @@ export declare interface SearchRequest {
|
|
|
5148
5375
|
* the results.
|
|
5149
5376
|
*/
|
|
5150
5377
|
scoringProfile?: string;
|
|
5378
|
+
/**
|
|
5379
|
+
* The name of a semantic configuration that will be used when processing documents for queries of
|
|
5380
|
+
* type semantic.
|
|
5381
|
+
*/
|
|
5382
|
+
semanticConfiguration?: string;
|
|
5151
5383
|
/**
|
|
5152
5384
|
* A full-text search query expression; Use "*" or omit this parameter to match all documents.
|
|
5153
5385
|
*/
|
|
@@ -5435,6 +5667,25 @@ export declare interface SearchSuggester {
|
|
|
5435
5667
|
sourceFields: string[];
|
|
5436
5668
|
}
|
|
5437
5669
|
|
|
5670
|
+
/** Defines a specific configuration to be used in the context of semantic capabilities. */
|
|
5671
|
+
export declare interface SemanticConfiguration {
|
|
5672
|
+
/** The name of the semantic configuration. */
|
|
5673
|
+
name: string;
|
|
5674
|
+
/** Describes the title, content, and keyword fields to be used for semantic ranking, captions, highlights, and answers. At least one of the three sub properties (titleField, prioritizedKeywordsFields and prioritizedContentFields) need to be set. */
|
|
5675
|
+
prioritizedFields: PrioritizedFields;
|
|
5676
|
+
}
|
|
5677
|
+
|
|
5678
|
+
/** A field that is used as part of the semantic configuration. */
|
|
5679
|
+
export declare interface SemanticField {
|
|
5680
|
+
name?: string;
|
|
5681
|
+
}
|
|
5682
|
+
|
|
5683
|
+
/** Defines parameters for a search index that influence semantic capabilities. */
|
|
5684
|
+
export declare interface SemanticSettings {
|
|
5685
|
+
/** The semantic configurations for the index. */
|
|
5686
|
+
configurations?: SemanticConfiguration[];
|
|
5687
|
+
}
|
|
5688
|
+
|
|
5438
5689
|
/** Text analytics positive-negative sentiment analysis, scored as a floating point value in a range of zero to 1. */
|
|
5439
5690
|
export declare type SentimentSkill = BaseSearchIndexerSkill & {
|
|
5440
5691
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|