|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResultAccessor
An interface for accessing the values associated with a search result that is being considered for inclusion in a list of results returned to a user.
ResultsFilter
Method Summary | |
---|---|
java.util.List<java.lang.Object> |
getField(java.lang.String field)
Gets the values associated with the given saved field for the current result |
java.lang.String |
getKey()
Gets the key of the result under consideration |
float |
getScore()
Gets the score for the result under consideration. |
java.lang.Object |
getSingleFieldValue(java.lang.String field)
Gets a single value for the given saved field for the current result |
Method Detail |
---|
float getScore()
java.lang.String getKey()
java.util.List<java.lang.Object> getField(java.lang.String field)
field
- the field whose values we want
java.lang.Object getSingleFieldValue(java.lang.String field)
field
- the field whose value we want
null
if
this result does not have a value saved for this field
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |