|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectno.sesat.search.result.handler.AbstractResultHandlerConfig
no.sesat.search.result.handler.SpellingSuggestionChooserResultHandlerConfig
@AbstractResultHandlerConfig.Controller(value="SpellingSuggestionChooser") public final class SpellingSuggestionChooserResultHandlerConfig
Spelling suggestions are chosen in the following way:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class no.sesat.search.result.handler.AbstractResultHandlerConfig |
|---|
AbstractResultHandlerConfig.Controller |
| Constructor Summary | |
|---|---|
SpellingSuggestionChooserResultHandlerConfig()
|
|
| Method Summary | |
|---|---|
int |
getLongQuery()
|
int |
getLongQueryMaxSuggestions()
|
int |
getMaxDistance()
|
int |
getMaxSuggestions()
|
int |
getMinScore()
|
int |
getMuchBetter()
|
int |
getVeryLongQuery()
|
AbstractResultHandlerConfig |
readResultHandler(Element element)
|
void |
setLongQuery(int longQuery)
Sets the number of terms query needs to be considered as long. |
void |
setLongQueryMaxSuggestions(int maxSuggestionsForLongQueries)
Sets the number of suggestions to choose for very long queries. |
void |
setMaxDistance(int maxDistance)
Sets the maximum difference in score a suggestion can have from the highest the suggestion with the highest score without being discarded. |
void |
setMaxSuggestions(int maxSuggestions)
Sets the maximum number of suggestions to choose. |
void |
setMinScore(int minumScore)
Sets the minimum score a suggestions needs to have to be considered. |
void |
setMuchBetter(int muchBetter)
Sets the score difference needed for a suggestion to be rated as much better. |
void |
setVeryLongQuery(int veryLongQuery)
Sets the number of terms a query needs to be considered as long. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpellingSuggestionChooserResultHandlerConfig()
| Method Detail |
|---|
public void setMinScore(int minumScore)
minumScore - New minimum score.public int getMinScore()
public void setMaxSuggestions(int maxSuggestions)
maxSuggestions - New max number of suggestions.public int getMaxSuggestions()
public void setMaxDistance(int maxDistance)
maxDistance - New max distance.public int getMaxDistance()
public void setMuchBetter(int muchBetter)
muchBetter - New difference.public int getMuchBetter()
public void setLongQuery(int longQuery)
longQuery - The new number of terms.public int getLongQuery()
public void setVeryLongQuery(int veryLongQuery)
veryLongQuery - The new number of terms.public int getVeryLongQuery()
public void setLongQueryMaxSuggestions(int maxSuggestionsForLongQueries)
maxSuggestionsForLongQueries - The new number of suggestions.public int getLongQueryMaxSuggestions()
public AbstractResultHandlerConfig readResultHandler(Element element)
readResultHandler in interface ResultHandlerConfigreadResultHandler in class AbstractResultHandlerConfig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||