aws-sdk-cloudsearchdomain 1.34.1 → 1.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudsearchdomain/client.rb +32 -27
- data/lib/aws-sdk-cloudsearchdomain/types.rb +34 -37
- data/lib/aws-sdk-cloudsearchdomain.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12f3ddab1550c4ea3d8d3cb8e0c88e2ba0f0a8c4a326bb5f0cc10354c396202c
|
4
|
+
data.tar.gz: 02332065ac772e24e0dc526b22b5855cab28c924a0ff998db968586bd1ac7d7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54c05b98cdef19db765be86e1b37c21342ae2fd8d620290a85b45949ac56612a118e082a16c0038de73ff7c2ffb43fe7b9ce4881f9d0ba7299d85b65fbe26b82
|
7
|
+
data.tar.gz: b8cf24a6ea97650909e776082cb05b45fc7c1a64591133286c11527400635de3a9e2577c07f1d00d030fa84070cc77000598fbc26e8ca57e74a37da3392f2a5a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.35.0
|
@@ -232,6 +232,11 @@ module Aws::CloudSearchDomain
|
|
232
232
|
# in the future.
|
233
233
|
#
|
234
234
|
#
|
235
|
+
# @option options [String] :sdk_ua_app_id
|
236
|
+
# A unique and opaque application ID that is appended to the
|
237
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
238
|
+
# maximum length of 50.
|
239
|
+
#
|
235
240
|
# @option options [String] :secret_access_key
|
236
241
|
#
|
237
242
|
# @option options [String] :session_token
|
@@ -321,16 +326,16 @@ module Aws::CloudSearchDomain
|
|
321
326
|
# criteria. How you specify the search criteria depends on which query
|
322
327
|
# parser you use. Amazon CloudSearch supports four query parsers:
|
323
328
|
#
|
324
|
-
# * `simple
|
329
|
+
# * `simple`: search all `text` and `text-array` fields for the
|
325
330
|
# specified string. Search for phrases, individual terms, and
|
326
331
|
# prefixes.
|
327
|
-
# * `structured
|
332
|
+
# * `structured`: search specific fields, construct compound queries
|
328
333
|
# using Boolean operators, and use advanced features such as term
|
329
334
|
# boosting and proximity searching.
|
330
|
-
# * `lucene
|
335
|
+
# * `lucene`: specify search criteria using the Apache Lucene query
|
331
336
|
# parser syntax.
|
332
|
-
# * `dismax
|
333
|
-
#
|
337
|
+
# * `dismax`: specify search criteria using the simplified subset of the
|
338
|
+
# Apache Lucene query parser syntax defined by the DisMax query
|
334
339
|
# parser.
|
335
340
|
#
|
336
341
|
# For more information, see [Searching Your Data][1] in the *Amazon
|
@@ -471,16 +476,16 @@ module Aws::CloudSearchDomain
|
|
471
476
|
#
|
472
477
|
# You can specify the following highlight options:
|
473
478
|
#
|
474
|
-
# * `format
|
475
|
-
#
|
476
|
-
#
|
477
|
-
# * `max_phrases
|
479
|
+
# * `format`: specifies the format of the data in the text field: `text`
|
480
|
+
# or `html`. When data is returned as HTML, all non-alphanumeric
|
481
|
+
# characters are encoded. The default is `html`.
|
482
|
+
# * `max_phrases`: specifies the maximum number of occurrences of the
|
478
483
|
# search term(s) you want to highlight. By default, the first
|
479
484
|
# occurrence is highlighted.
|
480
|
-
# * `pre_tag
|
485
|
+
# * `pre_tag`: specifies the string to prepend to an occurrence of a
|
481
486
|
# search term. The default for HTML highlights is `<em>`. The
|
482
487
|
# default for text highlights is `*`.
|
483
|
-
# * `post_tag
|
488
|
+
# * `post_tag`: specifies the string to append to an occurrence of a
|
484
489
|
# search term. The default for HTML highlights is `</em>`. The
|
485
490
|
# default for text highlights is `*`.
|
486
491
|
#
|
@@ -530,7 +535,7 @@ module Aws::CloudSearchDomain
|
|
530
535
|
#
|
531
536
|
# The options you can configure vary according to which parser you use:
|
532
537
|
#
|
533
|
-
# * `defaultOperator
|
538
|
+
# * `defaultOperator`: The default operator used to combine individual
|
534
539
|
# terms in the search string. For example: `defaultOperator: 'or'`.
|
535
540
|
# For the `dismax` parser, you specify a percentage that represents
|
536
541
|
# the percentage of terms in the search string (rounded down) that
|
@@ -542,7 +547,7 @@ module Aws::CloudSearchDomain
|
|
542
547
|
# (`dismax`). Default: `and` (`simple`, `structured`, `lucene`) or
|
543
548
|
# `100` (`dismax`). Valid for: `simple`, `structured`, `lucene`, and
|
544
549
|
# `dismax`.
|
545
|
-
# * `fields
|
550
|
+
# * `fields`: An array of the fields to search when no fields are
|
546
551
|
# specified in a search. If no fields are specified in a search and
|
547
552
|
# this option is not specified, all text and text-array fields are
|
548
553
|
# searched. You can specify a weight for each field to control the
|
@@ -554,7 +559,7 @@ module Aws::CloudSearchDomain
|
|
554
559
|
# The name of any configured field and an optional numeric value
|
555
560
|
# greater than zero. Default: All `text` and `text-array` fields.
|
556
561
|
# Valid for: `simple`, `structured`, `lucene`, and `dismax`.
|
557
|
-
# * `operators
|
562
|
+
# * `operators`: An array of the operators or special characters you
|
558
563
|
# want to disable for the simple query parser. If you disable the
|
559
564
|
# `and`, `or`, or `not` operators, the corresponding operators (`+`,
|
560
565
|
# `|`, `-`) have no special meaning and are dropped from the search
|
@@ -576,7 +581,7 @@ module Aws::CloudSearchDomain
|
|
576
581
|
# `escape`, `fuzzy`, `near`, `not`, `or`, `phrase`, `precedence`,
|
577
582
|
# `prefix`, `whitespace`. Default: All operators and special
|
578
583
|
# characters are enabled. Valid for: `simple`.
|
579
|
-
# * `phraseFields
|
584
|
+
# * `phraseFields`: An array of the `text` or `text-array` fields you
|
580
585
|
# want to use for phrase searches. When the terms in the search string
|
581
586
|
# appear in close proximity within a field, the field scores higher.
|
582
587
|
# You can specify a weight for each field to boost that score. The
|
@@ -590,20 +595,20 @@ module Aws::CloudSearchDomain
|
|
590
595
|
# If you don't specify any fields with `phraseFields`, proximity
|
591
596
|
# scoring is disabled even if `phraseSlop` is specified. Valid for:
|
592
597
|
# `dismax`.
|
593
|
-
# * `phraseSlop
|
598
|
+
# * `phraseSlop`: An integer value that specifies how much matches can
|
594
599
|
# deviate from the search phrase and still be boosted according to the
|
595
600
|
# weights specified in the `phraseFields` option; for example,
|
596
601
|
# `phraseSlop: 2`. You must also specify `phraseFields` to enable
|
597
602
|
# proximity scoring. Valid values: positive integers. Default: 0.
|
598
603
|
# Valid for: `dismax`.
|
599
|
-
# * `explicitPhraseSlop
|
604
|
+
# * `explicitPhraseSlop`: An integer value that specifies how much a
|
600
605
|
# match can deviate from the search phrase when the phrase is enclosed
|
601
606
|
# in double quotes in the search string. (Phrases that exceed this
|
602
607
|
# proximity distance are not considered a match.) For example, to
|
603
608
|
# specify a slop of three for dismax phrase queries, you would specify
|
604
609
|
# `"explicitPhraseSlop":3`. Valid values: positive integers. Default:
|
605
610
|
# 0. Valid for: `dismax`.
|
606
|
-
# * `tieBreaker
|
611
|
+
# * `tieBreaker`: When a term in the search string is found in a
|
607
612
|
# document's field, a score is calculated for that field based on how
|
608
613
|
# common the word is in that field compared to other documents. If the
|
609
614
|
# term occurs in multiple fields within a document, by default only
|
@@ -627,11 +632,11 @@ module Aws::CloudSearchDomain
|
|
627
632
|
#
|
628
633
|
# Amazon CloudSearch supports four query parsers:
|
629
634
|
#
|
630
|
-
# * `simple
|
631
|
-
#
|
632
|
-
#
|
633
|
-
#
|
634
|
-
#
|
635
|
+
# * `simple`: perform simple searches of `text` and `text-array` fields.
|
636
|
+
# By default, the `simple` query parser searches all `text` and
|
637
|
+
# `text-array` fields. You can specify which fields to search by with
|
638
|
+
# the `queryOptions` parameter. If you prefix a search term with a
|
639
|
+
# plus sign (+) documents must contain the term to be considered a
|
635
640
|
# match. (This is the default, unless you configure the default
|
636
641
|
# operator with the `queryOptions` parameter.) You can use the `-`
|
637
642
|
# (NOT), `|` (OR), and `*` (wildcard) operators to exclude particular
|
@@ -639,15 +644,15 @@ module Aws::CloudSearchDomain
|
|
639
644
|
# for a prefix. To search for a phrase rather than individual terms,
|
640
645
|
# enclose the phrase in double quotes. For more information, see
|
641
646
|
# [Searching for Text][1] in the *Amazon CloudSearch Developer Guide*.
|
642
|
-
# * `structured
|
647
|
+
# * `structured`: perform advanced searches by combining multiple
|
643
648
|
# expressions to define the search criteria. You can also search
|
644
649
|
# within particular fields, search for values and ranges of values,
|
645
650
|
# and use advanced options such as term boosting, `matchall`, and
|
646
651
|
# `near`. For more information, see [Constructing Compound Queries][2]
|
647
652
|
# in the *Amazon CloudSearch Developer Guide*.
|
648
|
-
# * `lucene
|
653
|
+
# * `lucene`: search using the Apache Lucene query parser syntax. For
|
649
654
|
# more information, see [Apache Lucene Query Parser Syntax][3].
|
650
|
-
# * `dismax
|
655
|
+
# * `dismax`: search using the simplified subset of the Apache Lucene
|
651
656
|
# query parser syntax defined by the DisMax query parser. For more
|
652
657
|
# information, see [DisMax Query Parser Syntax][4].
|
653
658
|
#
|
@@ -916,7 +921,7 @@ module Aws::CloudSearchDomain
|
|
916
921
|
params: params,
|
917
922
|
config: config)
|
918
923
|
context[:gem_name] = 'aws-sdk-cloudsearchdomain'
|
919
|
-
context[:gem_version] = '1.
|
924
|
+
context[:gem_version] = '1.35.0'
|
920
925
|
Seahorse::Client::Request.new(handlers, context)
|
921
926
|
end
|
922
927
|
|
@@ -81,8 +81,7 @@ module Aws::CloudSearchDomain
|
|
81
81
|
# `double-array`), `min` is the string representation of a
|
82
82
|
# double-precision 64-bit floating point value. If the field is `date`
|
83
83
|
# or `date-array`, `min` is the string representation of a date with
|
84
|
-
# the format specified in [IETF RFC3339][1]
|
85
|
-
# yyyy-mm-ddTHH:mm:ss.SSSZ.
|
84
|
+
# the format specified in [IETF RFC3339][1]: yyyy-mm-ddTHH:mm:ss.SSSZ.
|
86
85
|
#
|
87
86
|
#
|
88
87
|
#
|
@@ -96,8 +95,7 @@ module Aws::CloudSearchDomain
|
|
96
95
|
# `double-array`), `max` is the string representation of a
|
97
96
|
# double-precision 64-bit floating point value. If the field is `date`
|
98
97
|
# or `date-array`, `max` is the string representation of a date with
|
99
|
-
# the format specified in [IETF RFC3339][1]
|
100
|
-
# yyyy-mm-ddTHH:mm:ss.SSSZ.
|
98
|
+
# the format specified in [IETF RFC3339][1]: yyyy-mm-ddTHH:mm:ss.SSSZ.
|
101
99
|
#
|
102
100
|
#
|
103
101
|
#
|
@@ -131,8 +129,7 @@ module Aws::CloudSearchDomain
|
|
131
129
|
# `double-array`), `mean` is the string representation of a
|
132
130
|
# double-precision 64-bit floating point value. If the field is `date`
|
133
131
|
# or `date-array`, `mean` is the string representation of a date with
|
134
|
-
# the format specified in [IETF RFC3339][1]
|
135
|
-
# yyyy-mm-ddTHH:mm:ss.SSSZ.
|
132
|
+
# the format specified in [IETF RFC3339][1]: yyyy-mm-ddTHH:mm:ss.SSSZ.
|
136
133
|
#
|
137
134
|
#
|
138
135
|
#
|
@@ -357,16 +354,16 @@ module Aws::CloudSearchDomain
|
|
357
354
|
#
|
358
355
|
# You can specify the following highlight options:
|
359
356
|
#
|
360
|
-
# * `format
|
357
|
+
# * `format`: specifies the format of the data in the text field:
|
361
358
|
# `text` or `html`. When data is returned as HTML, all
|
362
359
|
# non-alphanumeric characters are encoded. The default is `html`.
|
363
|
-
# * `max_phrases
|
360
|
+
# * `max_phrases`: specifies the maximum number of occurrences of the
|
364
361
|
# search term(s) you want to highlight. By default, the first
|
365
362
|
# occurrence is highlighted.
|
366
|
-
# * `pre_tag
|
363
|
+
# * `pre_tag`: specifies the string to prepend to an occurrence of a
|
367
364
|
# search term. The default for HTML highlights is `<em>`. The
|
368
365
|
# default for text highlights is `*`.
|
369
|
-
# * `post_tag
|
366
|
+
# * `post_tag`: specifies the string to append to an occurrence of a
|
370
367
|
# search term. The default for HTML highlights is `</em>`. The
|
371
368
|
# default for text highlights is `*`.
|
372
369
|
#
|
@@ -422,19 +419,19 @@ module Aws::CloudSearchDomain
|
|
422
419
|
# The options you can configure vary according to which parser you
|
423
420
|
# use:
|
424
421
|
#
|
425
|
-
# * `defaultOperator
|
426
|
-
#
|
427
|
-
#
|
428
|
-
#
|
429
|
-
#
|
430
|
-
#
|
431
|
-
#
|
432
|
-
#
|
433
|
-
#
|
434
|
-
#
|
435
|
-
#
|
436
|
-
# `
|
437
|
-
# * `fields
|
422
|
+
# * `defaultOperator`: The default operator used to combine individual
|
423
|
+
# terms in the search string. For example: `defaultOperator: 'or'`.
|
424
|
+
# For the `dismax` parser, you specify a percentage that represents
|
425
|
+
# the percentage of terms in the search string (rounded down) that
|
426
|
+
# must match, rather than a default operator. A value of `0%` is the
|
427
|
+
# equivalent to OR, and a value of `100%` is equivalent to AND. The
|
428
|
+
# percentage must be specified as a value in the range 0-100
|
429
|
+
# followed by the percent (%) symbol. For example, `defaultOperator:
|
430
|
+
# 50%`. Valid values: `and`, `or`, a percentage in the range 0%-100%
|
431
|
+
# (`dismax`). Default: `and` (`simple`, `structured`, `lucene`) or
|
432
|
+
# `100` (`dismax`). Valid for: `simple`, `structured`, `lucene`, and
|
433
|
+
# `dismax`.
|
434
|
+
# * `fields`: An array of the fields to search when no fields are
|
438
435
|
# specified in a search. If no fields are specified in a search and
|
439
436
|
# this option is not specified, all text and text-array fields are
|
440
437
|
# searched. You can specify a weight for each field to control the
|
@@ -447,7 +444,7 @@ module Aws::CloudSearchDomain
|
|
447
444
|
# any configured field and an optional numeric value greater than
|
448
445
|
# zero. Default: All `text` and `text-array` fields. Valid for:
|
449
446
|
# `simple`, `structured`, `lucene`, and `dismax`.
|
450
|
-
# * `operators
|
447
|
+
# * `operators`: An array of the operators or special characters you
|
451
448
|
# want to disable for the simple query parser. If you disable the
|
452
449
|
# `and`, `or`, or `not` operators, the corresponding operators (`+`,
|
453
450
|
# `|`, `-`) have no special meaning and are dropped from the search
|
@@ -469,7 +466,7 @@ module Aws::CloudSearchDomain
|
|
469
466
|
# values: `and`, `escape`, `fuzzy`, `near`, `not`, `or`, `phrase`,
|
470
467
|
# `precedence`, `prefix`, `whitespace`. Default: All operators and
|
471
468
|
# special characters are enabled. Valid for: `simple`.
|
472
|
-
# * `phraseFields
|
469
|
+
# * `phraseFields`: An array of the `text` or `text-array` fields you
|
473
470
|
# want to use for phrase searches. When the terms in the search
|
474
471
|
# string appear in close proximity within a field, the field scores
|
475
472
|
# higher. You can specify a weight for each field to boost that
|
@@ -483,20 +480,20 @@ module Aws::CloudSearchDomain
|
|
483
480
|
# than zero. Default: No fields. If you don't specify any fields
|
484
481
|
# with `phraseFields`, proximity scoring is disabled even if
|
485
482
|
# `phraseSlop` is specified. Valid for: `dismax`.
|
486
|
-
# * `phraseSlop
|
487
|
-
#
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
# * `explicitPhraseSlop
|
483
|
+
# * `phraseSlop`: An integer value that specifies how much matches can
|
484
|
+
# deviate from the search phrase and still be boosted according to
|
485
|
+
# the weights specified in the `phraseFields` option; for example,
|
486
|
+
# `phraseSlop: 2`. You must also specify `phraseFields` to enable
|
487
|
+
# proximity scoring. Valid values: positive integers. Default: 0.
|
488
|
+
# Valid for: `dismax`.
|
489
|
+
# * `explicitPhraseSlop`: An integer value that specifies how much a
|
493
490
|
# match can deviate from the search phrase when the phrase is
|
494
491
|
# enclosed in double quotes in the search string. (Phrases that
|
495
492
|
# exceed this proximity distance are not considered a match.) For
|
496
493
|
# example, to specify a slop of three for dismax phrase queries, you
|
497
494
|
# would specify `"explicitPhraseSlop":3`. Valid values: positive
|
498
495
|
# integers. Default: 0. Valid for: `dismax`.
|
499
|
-
# * `tieBreaker
|
496
|
+
# * `tieBreaker`: When a term in the search string is found in a
|
500
497
|
# document's field, a score is calculated for that field based on
|
501
498
|
# how common the word is in that field compared to other documents.
|
502
499
|
# If the term occurs in multiple fields within a document, by
|
@@ -521,7 +518,7 @@ module Aws::CloudSearchDomain
|
|
521
518
|
#
|
522
519
|
# Amazon CloudSearch supports four query parsers:
|
523
520
|
#
|
524
|
-
# * `simple
|
521
|
+
# * `simple`: perform simple searches of `text` and `text-array`
|
525
522
|
# fields. By default, the `simple` query parser searches all `text`
|
526
523
|
# and `text-array` fields. You can specify which fields to search by
|
527
524
|
# with the `queryOptions` parameter. If you prefix a search term
|
@@ -534,15 +531,15 @@ module Aws::CloudSearchDomain
|
|
534
531
|
# individual terms, enclose the phrase in double quotes. For more
|
535
532
|
# information, see [Searching for Text][1] in the *Amazon
|
536
533
|
# CloudSearch Developer Guide*.
|
537
|
-
# * `structured
|
534
|
+
# * `structured`: perform advanced searches by combining multiple
|
538
535
|
# expressions to define the search criteria. You can also search
|
539
536
|
# within particular fields, search for values and ranges of values,
|
540
537
|
# and use advanced options such as term boosting, `matchall`, and
|
541
538
|
# `near`. For more information, see [Constructing Compound
|
542
539
|
# Queries][2] in the *Amazon CloudSearch Developer Guide*.
|
543
|
-
# * `lucene
|
540
|
+
# * `lucene`: search using the Apache Lucene query parser syntax. For
|
544
541
|
# more information, see [Apache Lucene Query Parser Syntax][3].
|
545
|
-
# * `dismax
|
542
|
+
# * `dismax`: search using the simplified subset of the Apache Lucene
|
546
543
|
# query parser syntax defined by the DisMax query parser. For more
|
547
544
|
# information, see [DisMax Query Parser Syntax][4].
|
548
545
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudsearchdomain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.35.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.174.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|