|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchEngineHits
Holds hits returned by a find operation of a search engine.
SearchEngineQuery.hits()| Method Summary | |
|---|---|
void |
close()
Closes the hits object. |
SearchEngineHighlighter |
getHighlighter()
Returns an highlighter for the hits. |
int |
getLength()
Returns the number of hits. |
Resource |
getResource(int n)
Returns that maps to the n'th hit. |
float |
score(int i)
Returns the score of the n'th hit. |
| Method Detail |
|---|
Resource getResource(int n)
throws SearchEngineException
SearchEngineExceptionint getLength()
float score(int i)
throws SearchEngineException
SearchEngineException
SearchEngineHighlighter getHighlighter()
throws SearchEngineException
SearchEngineException
void close()
throws SearchEngineException
It is provided for more controlled resource management
SearchEngineException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||