|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CompassHitsOperations
Mutual operations for hits, for both detached and transactional hits.
| Method Summary | |
|---|---|
Object |
data(int n)
Returns the object that maps the n'th hit |
int |
getLength()
Returns the number of hits, |
CompassQuery |
getQuery()
Retrurn the query that resulted in this search hits. |
CompassQuery |
getSuggestedQuery()
Returns a suggested query (based on spell check). |
CompassHighlightedText |
highlightedText(int n)
Returns a cached highlighted text the maps to the n'th hit. |
CompassHit |
hit(int n)
Returns a compass hit wrapper that maps to the n'th hit |
int |
length()
Returns the number of hits, |
Resource |
resource(int n)
Returns the resource that maps to the n'th hit |
float |
score(int n)
Returns the score of the n'th hit. |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
int getLength()
int length()
Object data(int n)
throws CompassException
n - The n'th hit.
CompassException
Resource resource(int n)
throws CompassException
n - The n'th hit.
CompassException
CompassHit hit(int n)
throws CompassException
n - The n'th hit.
CompassException
CompassHighlightedText highlightedText(int n)
throws CompassException
CompassHighlighter
using CompassHits.highlighter(int).
n - The n'th hit
CompassException
float score(int n)
throws CompassException
n - The n'th hit.
CompassExceptionCompassQuery getQuery()
CompassQuery getSuggestedQuery()
CompassQuery.getSuggestedQuery()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||