TextOptions instead.@Deprecated public class TextOptions extends Object implements Serializable
Options that define a text field in the search index.
| Constructor and Description |
|---|
TextOptions()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Deprecated.
|
String |
getDefaultValue()
Deprecated.
The default value for a text field.
|
Boolean |
getFacetEnabled()
Deprecated.
Specifies whether facets are enabled for this field.
|
Boolean |
getResultEnabled()
Deprecated.
Specifies whether values of this field can be returned in search
results and used for ranking.
|
String |
getTextProcessor()
Deprecated.
The text processor to apply to this field.
|
int |
hashCode()
Deprecated.
|
Boolean |
isFacetEnabled()
Deprecated.
Specifies whether facets are enabled for this field.
|
Boolean |
isResultEnabled()
Deprecated.
Specifies whether values of this field can be returned in search
results and used for ranking.
|
void |
setDefaultValue(String defaultValue)
Deprecated.
The default value for a text field.
|
void |
setFacetEnabled(Boolean facetEnabled)
Deprecated.
Specifies whether facets are enabled for this field.
|
void |
setResultEnabled(Boolean resultEnabled)
Deprecated.
Specifies whether values of this field can be returned in search
results and used for ranking.
|
void |
setTextProcessor(String textProcessor)
Deprecated.
The text processor to apply to this field.
|
String |
toString()
Deprecated.
Returns a string representation of this object; useful for testing and
debugging.
|
TextOptions |
withDefaultValue(String defaultValue)
Deprecated.
The default value for a text field.
|
TextOptions |
withFacetEnabled(Boolean facetEnabled)
Deprecated.
Specifies whether facets are enabled for this field.
|
TextOptions |
withResultEnabled(Boolean resultEnabled)
Deprecated.
Specifies whether values of this field can be returned in search
results and used for ranking.
|
TextOptions |
withTextProcessor(String textProcessor)
Deprecated.
The text processor to apply to this field.
|
public String getDefaultValue()
Constraints:
Length: 0 - 1024
public void setDefaultValue(String defaultValue)
Constraints:
Length: 0 - 1024
defaultValue - The default value for a text field. Optional.public TextOptions withDefaultValue(String defaultValue)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
defaultValue - The default value for a text field. Optional.public Boolean isFacetEnabled()
public void setFacetEnabled(Boolean facetEnabled)
facetEnabled - Specifies whether facets are enabled for this field. Default: False.public TextOptions withFacetEnabled(Boolean facetEnabled)
Returns a reference to this object so that method calls can be chained together.
facetEnabled - Specifies whether facets are enabled for this field. Default: False.public Boolean getFacetEnabled()
public Boolean isResultEnabled()
public void setResultEnabled(Boolean resultEnabled)
resultEnabled - Specifies whether values of this field can be returned in search
results and used for ranking. Default: False.public TextOptions withResultEnabled(Boolean resultEnabled)
Returns a reference to this object so that method calls can be chained together.
resultEnabled - Specifies whether values of this field can be returned in search
results and used for ranking. Default: False.public Boolean getResultEnabled()
public String getTextProcessor()
cs_text_no_stemming: turns off stemming for the
field.Default: none
Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*
cs_text_no_stemming: turns off stemming for the
field.Default: none
public void setTextProcessor(String textProcessor)
cs_text_no_stemming: turns off stemming for the
field.Default: none
Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*
textProcessor - The text processor to apply to this field. Optional. Possible values:
cs_text_no_stemming: turns off stemming for the
field.Default: none
public TextOptions withTextProcessor(String textProcessor)
cs_text_no_stemming: turns off stemming for the
field.Default: none
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*
textProcessor - The text processor to apply to this field. Optional. Possible values:
cs_text_no_stemming: turns off stemming for the
field.Default: none
public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.