public class RelatedTermsSuggest extends IndexFieldSuggest implements com.exalead.util.Checkable, java.io.Serializable
IndexFieldSuggest.Transformer<T>, IndexFieldSuggest.Visitor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_DICTIONARY_NAME |
java.lang.String |
dictionaryName |
DEFAULT_QUERY, indexField, logic, query, searchServerInstance, target
suggestBuildConfig, suggestBuildTrigger
blackListURL, suggestName, suggestQueryConfig, whiteListURL
Constructor and Description |
---|
RelatedTermsSuggest() |
RelatedTermsSuggest(RelatedTermsSuggest o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(BuildableSuggest.Transformer<T> transformer,
T[] t) |
void |
accept(BuildableSuggest.Visitor visitor) |
<T> T |
accept(IndexFieldSuggest.Transformer<T> transformer,
T[] t) |
void |
accept(IndexFieldSuggest.Visitor visitor) |
<T> T |
accept(SearchBasedSuggest.Transformer<T> transformer,
T[] t) |
void |
accept(SearchBasedSuggest.Visitor visitor) |
<T> T |
accept(Suggest.Transformer<T> transformer,
T[] t) |
void |
accept(Suggest.Visitor visitor) |
void |
check(boolean deep,
java.lang.String errorContext)
Checks this RelatedTermsSuggest.
|
static RelatedTermsSuggest |
fromString(java.lang.String s)
String representation of this RelatedTermsSuggest.
|
java.lang.String |
getDictionaryName() |
RelatedTermsSuggest |
makeCopy()
Creates and returns a deep copy of this RelatedTermsSuggest.
|
static RelatedTermsSuggest |
readFrom(java.io.InputStream is)
Read this RelatedTermsSuggest from an XML fragment.
|
void |
setDictionaryName(java.lang.String dictionaryName) |
java.lang.String |
toString()
String representation of this RelatedTermsSuggest.
|
RelatedTermsSuggest |
withBlackListURL(java.lang.String blackListURL) |
RelatedTermsSuggest |
withDictionaryName(java.lang.String dictionaryName) |
RelatedTermsSuggest |
withIndexField(java.lang.String indexField) |
RelatedTermsSuggest |
withLogic(java.lang.String logic) |
RelatedTermsSuggest |
withQuery(java.lang.String query) |
RelatedTermsSuggest |
withSearchServerInstance(java.lang.String searchServerInstance) |
RelatedTermsSuggest |
withSuggestBuildConfig(SuggestBuildConfig suggestBuildConfig) |
RelatedTermsSuggest |
withSuggestBuildTrigger(SuggestBuildTrigger suggestBuildTrigger) |
RelatedTermsSuggest |
withSuggestName(java.lang.String suggestName) |
RelatedTermsSuggest |
withSuggestQueryConfig(SuggestQueryConfig suggestQueryConfig) |
RelatedTermsSuggest |
withTarget(java.lang.String target) |
RelatedTermsSuggest |
withWhiteListURL(java.lang.String whiteListURL) |
void |
writeTo(java.io.OutputStream os)
Write this RelatedTermsSuggest as an XML fragment
|
getIndexField, getLogic, getQuery, getSearchServerInstance, getTarget, setIndexField, setLogic, setQuery, setSearchServerInstance, setTarget
getSuggestBuildConfig, getSuggestBuildTrigger, setSuggestBuildConfig, setSuggestBuildTrigger
getBlackListURL, getSuggestName, getSuggestQueryConfig, getWhiteListURL, setBlackListURL, setSuggestName, setSuggestQueryConfig, setWhiteListURL
public java.lang.String dictionaryName
public static final java.lang.String DEFAULT_DICTIONARY_NAME
public RelatedTermsSuggest()
public RelatedTermsSuggest(RelatedTermsSuggest o)
public RelatedTermsSuggest withLogic(java.lang.String logic)
withLogic
in class IndexFieldSuggest
public RelatedTermsSuggest withTarget(java.lang.String target)
withTarget
in class IndexFieldSuggest
public RelatedTermsSuggest withIndexField(java.lang.String indexField)
withIndexField
in class IndexFieldSuggest
public RelatedTermsSuggest withQuery(java.lang.String query)
withQuery
in class IndexFieldSuggest
public RelatedTermsSuggest withSearchServerInstance(java.lang.String searchServerInstance)
withSearchServerInstance
in class IndexFieldSuggest
public RelatedTermsSuggest withSuggestBuildTrigger(SuggestBuildTrigger suggestBuildTrigger)
withSuggestBuildTrigger
in class IndexFieldSuggest
public RelatedTermsSuggest withSuggestBuildConfig(SuggestBuildConfig suggestBuildConfig)
withSuggestBuildConfig
in class IndexFieldSuggest
public RelatedTermsSuggest withSuggestName(java.lang.String suggestName)
withSuggestName
in class IndexFieldSuggest
public RelatedTermsSuggest withWhiteListURL(java.lang.String whiteListURL)
withWhiteListURL
in class IndexFieldSuggest
public RelatedTermsSuggest withBlackListURL(java.lang.String blackListURL)
withBlackListURL
in class IndexFieldSuggest
public RelatedTermsSuggest withSuggestQueryConfig(SuggestQueryConfig suggestQueryConfig)
withSuggestQueryConfig
in class IndexFieldSuggest
public void setDictionaryName(java.lang.String dictionaryName)
public java.lang.String getDictionaryName()
public RelatedTermsSuggest withDictionaryName(java.lang.String dictionaryName)
public RelatedTermsSuggest makeCopy()
makeCopy
in class IndexFieldSuggest
public static RelatedTermsSuggest readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class IndexFieldSuggest
javax.xml.bind.JAXBException
java.io.IOException
public static RelatedTermsSuggest fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class IndexFieldSuggest
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class IndexFieldSuggest
com.exalead.util.TypedException
public void accept(IndexFieldSuggest.Visitor visitor) throws com.exalead.util.TypedException
accept
in class IndexFieldSuggest
com.exalead.util.TypedException
public void accept(SearchBasedSuggest.Visitor visitor) throws com.exalead.util.TypedException
accept
in class IndexFieldSuggest
com.exalead.util.TypedException
public void accept(BuildableSuggest.Visitor visitor) throws com.exalead.util.TypedException
accept
in class IndexFieldSuggest
com.exalead.util.TypedException
public void accept(Suggest.Visitor visitor) throws com.exalead.util.TypedException
accept
in class IndexFieldSuggest
com.exalead.util.TypedException
public <T> T accept(IndexFieldSuggest.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class IndexFieldSuggest
com.exalead.util.TypedException
public <T> T accept(SearchBasedSuggest.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class IndexFieldSuggest
com.exalead.util.TypedException
public <T> T accept(BuildableSuggest.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class IndexFieldSuggest
com.exalead.util.TypedException
public <T> T accept(Suggest.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class IndexFieldSuggest
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.