|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Value class to encapsulate a search match.
| Method Summary | |
void |
addContext(java.lang.String context)
Sets the context around the search's match. |
java.util.List |
getContext()
Gets the context around the search's match. |
java.lang.String |
getFile()
Gets the path to file that contains a match. |
java.lang.String |
getQuery()
Gets the query as it was interpreted. |
java.lang.String |
getUser()
|
double |
getWeight()
Gets the weight of this hit |
void |
setContext(java.util.List context)
Sets the context around the search's match. |
void |
setFile(java.lang.String file)
Sets the path to file that contains a match. |
void |
setQuery(java.lang.String query)
Sets the query as it was interpreted. |
void |
setUser(java.lang.String user)
|
void |
setWeight(double weight)
Sets the weight for this hit |
| Method Detail |
public java.lang.String getQuery()
public void setQuery(java.lang.String query)
query - in parsed formpublic java.lang.String getFile()
public void setFile(java.lang.String file)
file - Path to file that contains a matchpublic java.util.List getContext()
public void setContext(java.util.List context)
context - Context around the search matchpublic void addContext(java.lang.String context)
context - Context around the search matchpublic double getWeight()
public void setWeight(double weight)
weight - The weight for this hitpublic java.lang.String getUser()
public void setUser(java.lang.String user)
user - the user to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||