|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CompassHit
Wrapper that provides a lazily loaded hit from
CompassHitsOperations. It is also used as
the iterator value for CompassHitIterator.
| Method Summary | |
|---|---|
String |
getAlias()
Returns the alias value of the hit. |
Object |
getData()
Returns the object for this hit. |
CompassHighlightedText |
getHighlightedText()
Returns a cached highlighted text the maps to the hit. |
Resource |
getResource()
Returns the Resource for this hit. |
float |
getScore()
Returns the score for this hit. |
| Method Detail |
|---|
String getAlias()
throws CompassException
CompassException
Object getData()
throws CompassException
CompassExceptionCompassHitsOperations.data(int)
Resource getResource()
throws CompassException
Resource for this hit.
Resource of the hit.
CompassExceptionCompassHitsOperations.resource(int)
float getScore()
throws CompassException
CompassExceptionCompassHitsOperations.score(int)
CompassHighlightedText getHighlightedText()
throws CompassException
CompassHighlighter
using CompassHits.highlighter(int).
CompassException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||