Skip to content

Commit e699931

Browse files
akhill10justindho
authored andcommitted
Added source field option for CloudSearch define-index-field
1 parent c71d1df commit e699931

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

awscli/customizations/cloudsearch.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ def index_hydrate(params, container, cli_type, key, value):
9898
"hydrate": index_hydrate}),
9999
("IntOptions.SortEnabled", {"name": "sort-enabled",
100100
"hydrate": index_hydrate}),
101+
("IntOptions.SourceField", {"name": "source-field",
102+
"type": "string",
103+
"hydrate": index_hydrate }),
101104
("TextOptions.HighlightEnabled", {"name": "highlight-enabled",
102105
"hydrate": index_hydrate}),
103106
("TextOptions.AnalysisScheme", {"name": "analysis-scheme",

0 commit comments

Comments
 (0)