Class SearchKeywordsImpl
java.lang.Object
com.commercetools.importapi.models.products.SearchKeywordsImpl
- All Implemented Interfaces:
SearchKeywords
,io.vrap.rmf.base.client.ModelBase
public class SearchKeywordsImpl
extends Object
implements SearchKeywords, io.vrap.rmf.base.client.ModelBase
Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.
{
"en": [
{ "text": "Multi tool" },
{ "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
],
"de": [
{
"text": "Schweizer Messer",
"suggestTokenizer": {
"type": "custom",
"inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
}
}
]
}
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.importapi.models.products.SearchKeywords
withSearchKeywords
-
Constructor Details
-
SearchKeywordsImpl
public SearchKeywordsImpl()create empty instance
-
-
Method Details
-
values
- Specified by:
values
in interfaceSearchKeywords
- Returns:
- map of the pattern property values
-
setValue
Description copied from interface:SearchKeywords
set pattern property- Specified by:
setValue
in interfaceSearchKeywords
- Parameters:
key
- property namevalue
- property value
-
equals
-
hashCode
public int hashCode() -
toString
-