public class SearchAdjustments extends BasicContentItem
SearchAdjustmentsHandler output model.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SearchAdjustments(SearchAdjustmentsConfig pConfig)
Creates the
SearchAdjustments output model, using the
type and data present in the input SearchAdjustmentsConfig. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<AdjustedSearch>> |
getAdjustedSearches()
Gets automatically modified search terms from
spell correction or phrasing.
|
Map<String,Map<String,String>> |
getInterpretedTerms()
Gets debug information on how search terms are interpreted.
|
List<String> |
getOriginalTerms()
Gets the original, unaltered search terms.
|
Map<String,List<SuggestedSearch>> |
getSuggestedSearches()
Gets the search suggestions.
|
void |
setAdjustedSearches(Map<String,List<AdjustedSearch>> adjustedTerms)
Sets automatically modified search terms from
|
void |
setInterpretedTerms(Map<String,Map<String,String>> map)
Sets interpreted terms.
|
void |
setOriginalTerms(List<String> originalTerms)
Sets the original, unaltered search terms.
|
void |
setSuggestedSearches(Map<String,List<SuggestedSearch>> suggestedSearches)
Sets the search suggestions.
|
getBooleanProperty, getIntProperty, getLongProperty, getType, getTypedProperty, setTypeclear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic SearchAdjustments(SearchAdjustmentsConfig pConfig)
SearchAdjustments output model, using the
type and data present in the input SearchAdjustmentsConfig.public void setOriginalTerms(List<String> originalTerms)
originalTerms - public Map<String,List<AdjustedSearch>> getAdjustedSearches()
public void setAdjustedSearches(Map<String,List<AdjustedSearch>> adjustedTerms)
adjustedTerms - public Map<String,List<SuggestedSearch>> getSuggestedSearches()
public void setSuggestedSearches(Map<String,List<SuggestedSearch>> suggestedSearches)
suggestedSearches - public Map<String,Map<String,String>> getInterpretedTerms()
SearchAdjustmentsConfig.setShowWordInterp(boolean)Copyright © 2013, Oracle and/or its affiliates. All rights reserved.