|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eml.sir.retr.GUISearchResult
The result that a GUISearchRanker instance creates.
| Constructor Summary | |
GUISearchResult()
Create a new GUISearchResult instance. |
|
| Method Summary | |
void |
createExplanationFile(java.lang.String fileName)
Create explanation file. |
java.lang.String |
createInfo()
Create information about ranks, proffesion names and scores which is then displayed in the user interface. |
java.lang.String |
getQueryString()
Obtain the query string |
void |
setExplanations(java.util.HashMap explanations)
Set the explanations. |
void |
setIndexProperties(IndexProperties ip)
Set the index properies |
void |
setProfNames(java.util.HashMap profNames)
Sets the profession names |
void |
setQueryString(java.lang.String queryString)
Sets the query string- this is the string which was created after stemming the user input |
void |
setRanking(java.util.ArrayList ranking)
Rank the found results. |
void |
setScores(java.util.HashMap scores)
Set scores for each found result |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GUISearchResult()
| Method Detail |
public void setIndexProperties(IndexProperties ip)
ip - the index props to set.public void setExplanations(java.util.HashMap explanations)
explanations - the explanations to set.public void setProfNames(java.util.HashMap profNames)
profNames - the profNames to set.public void setQueryString(java.lang.String queryString)
queryString - the queryString to set.public java.lang.String getQueryString()
public void setRanking(java.util.ArrayList ranking)
ranking - the ranking to set.public void setScores(java.util.HashMap scores)
scores - the scores to set.
public void createExplanationFile(java.lang.String fileName)
throws java.io.IOException
fileName - the destination file to save the explanations
java.io.IOExceptionpublic java.lang.String createInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||