public class StemmingOptionsStatus
extends java.lang.Object
implements java.io.Serializable
The stemming options configured for this search domain and the current status of those options.
| コンストラクタと説明 |
|---|
StemmingOptionsStatus() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getOptions()
Maps terms to their stems, serialized as a JSON document.
|
OptionStatus |
getStatus()
The status of an option, including when it was last updated and
whether it is actively in use for searches.
|
int |
hashCode() |
void |
setOptions(java.lang.String options)
Maps terms to their stems, serialized as a JSON document.
|
void |
setStatus(OptionStatus status)
The status of an option, including when it was last updated and
whether it is actively in use for searches.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StemmingOptionsStatus |
withOptions(java.lang.String options)
Maps terms to their stems, serialized as a JSON document.
|
StemmingOptionsStatus |
withStatus(OptionStatus status)
The status of an option, including when it was last updated and
whether it is actively in use for searches.
|
public java.lang.String getOptions()
{ "stems": {"people": "person", "walking":
"walk"} }{ "stems": {"people": "person", "walking":
"walk"} }public void setOptions(java.lang.String options)
{ "stems": {"people": "person", "walking":
"walk"} }options - Maps terms to their stems, serialized as a JSON document. The document
has a single object with one property "stems" whose value is an object
mapping terms to their stems. The maximum size of a stemming document
is 500KB. Example: { "stems": {"people": "person", "walking":
"walk"} }public StemmingOptionsStatus withOptions(java.lang.String options)
{ "stems": {"people": "person", "walking":
"walk"} }
Returns a reference to this object so that method calls can be chained together.
options - Maps terms to their stems, serialized as a JSON document. The document
has a single object with one property "stems" whose value is an object
mapping terms to their stems. The maximum size of a stemming document
is 500KB. Example: { "stems": {"people": "person", "walking":
"walk"} }public OptionStatus getStatus()
public void setStatus(OptionStatus status)
status - The status of an option, including when it was last updated and
whether it is actively in use for searches.public StemmingOptionsStatus withStatus(OptionStatus status)
Returns a reference to this object so that method calls can be chained together.
status - The status of an option, including when it was last updated and
whether it is actively in use for searches.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object