|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.infront.cartridge.model.AdjustedSearch
public class AdjustedSearch
Represents a search input that was automatically adjusted. Search terms can be spell corrected and then automatically turned into a phrase. For example, the search keywords "digital camer" can be first spell corrected to the keywords "digital camera" and then adjusted to the phrase "digital camera".
Constructor Summary | |
---|---|
AdjustedSearch()
Default constructor. |
|
AdjustedSearch(String terms,
boolean autoPhrased,
boolean spellCorrected)
Constructs an AdjustedSearch with the specified terms, auto phrase and spell corrected values. |
Method Summary | |
---|---|
String |
getAdjustedTerms()
|
boolean |
isAutoPhrased()
|
boolean |
isSpellCorrected()
|
void |
setAdjustedTerms(String adjustedTerms)
Sets the adjusted terms of the search. |
void |
setAutoPhrased(boolean autoPhrased)
Sets the auto-phrased flag. |
void |
setSpellCorrected(boolean spellCorrected)
Sets the spell correction flag. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdjustedSearch()
public AdjustedSearch(String terms, boolean autoPhrased, boolean spellCorrected)
AdjustedSearch
with the specified terms, auto phrase and spell corrected values.
terms
- the adjusted terms of the searchautoPhrased
- true if the term was adjusted to a phrasespellCorrected
- true if the term was spell correctedMethod Detail |
---|
public String getAdjustedTerms()
public void setAdjustedTerms(String adjustedTerms)
adjustedTerms
- the adjusted termspublic boolean isSpellCorrected()
public void setSpellCorrected(boolean spellCorrected)
spellCorrected
- true if the terms were spell correctedpublic boolean isAutoPhrased()
public void setAutoPhrased(boolean autoPhrased)
autoPhrased
- true if the terms were auto-phrased
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |