|
||||||||||
| 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.
| Method Summary | |
|---|---|
String |
alias()
Same as getAlias(). |
Object |
data()
Same as getData() just shorter. |
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. |
CompassHighlightedText |
highlightedText()
Same as getHighlightedText(). |
Resource |
resource()
Same as getResource(). |
float |
score()
Same as getScore(). |
| Method Detail |
|---|
String getAlias()
throws CompassException
CompassException
String alias()
throws CompassException
getAlias().
CompassException
Object getData()
throws CompassException
CompassExceptionCompassHitsOperations.data(int)
Object data()
throws CompassException
getData() just shorter.
CompassException
Resource getResource()
throws CompassException
Resource for this hit.
Resource of the hit.
CompassExceptionCompassHitsOperations.resource(int)
Resource resource()
throws CompassException
getResource().
CompassException
float getScore()
throws CompassException
CompassExceptionCompassHitsOperations.score(int)
float score()
throws CompassException
getScore().
CompassException
CompassHighlightedText getHighlightedText()
throws CompassException
CompassHighlighter
using CompassHits.highlighter(int).
CompassException
CompassHighlightedText highlightedText()
throws CompassException
getHighlightedText().
CompassException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||