CopyableBuilder<TextOptions.Builder,TextOptions>, SdkBuilder<TextOptions.Builder,TextOptions>public static interface TextOptions.Builder extends CopyableBuilder<TextOptions.Builder,TextOptions>
| Modifier and Type | Method | Description |
|---|---|---|
TextOptions.Builder |
analysisScheme(String analysisScheme) |
The name of an analysis scheme for a
text field. |
TextOptions.Builder |
defaultValue(String defaultValue) |
A value to use for the field if the field isn't specified for a document.
|
TextOptions.Builder |
highlightEnabled(Boolean highlightEnabled) |
Whether highlights can be returned for the field.
|
TextOptions.Builder |
returnEnabled(Boolean returnEnabled) |
Whether the contents of the field can be returned in the search results.
|
TextOptions.Builder |
sortEnabled(Boolean sortEnabled) |
Whether the field can be used to sort the search results.
|
TextOptions.Builder |
sourceField(String sourceField) |
copyapply, buildTextOptions.Builder defaultValue(String defaultValue)
defaultValue - A value to use for the field if the field isn't specified for a document.TextOptions.Builder sourceField(String sourceField)
sourceField - TextOptions.Builder returnEnabled(Boolean returnEnabled)
Whether the contents of the field can be returned in the search results.
returnEnabled - Whether the contents of the field can be returned in the search results.TextOptions.Builder sortEnabled(Boolean sortEnabled)
Whether the field can be used to sort the search results.
sortEnabled - Whether the field can be used to sort the search results.TextOptions.Builder highlightEnabled(Boolean highlightEnabled)
Whether highlights can be returned for the field.
highlightEnabled - Whether highlights can be returned for the field.TextOptions.Builder analysisScheme(String analysisScheme)
The name of an analysis scheme for a text field.
analysisScheme - The name of an analysis scheme for a text field.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.