|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.lucene.engine.EmptyLuceneSearchEngineHits
public class EmptyLuceneSearchEngineHits
| Constructor Summary | |
|---|---|
EmptyLuceneSearchEngineHits()
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the hits object. |
Explanation |
explain(int i)
Returns Lucene Explanation for hit number i. |
SearchEngineHighlighter |
getHighlighter()
Returns an highlighter for the hits. |
Hits |
getHits()
Returns the actual Lucene 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmptyLuceneSearchEngineHits()
| Method Detail |
|---|
public Resource getResource(int n)
throws SearchEngineException
SearchEngineHits
getResource in interface SearchEngineHitsSearchEngineExceptionpublic int getLength()
SearchEngineHits
getLength in interface SearchEngineHits
public SearchEngineHighlighter getHighlighter()
throws SearchEngineException
SearchEngineHits
getHighlighter in interface SearchEngineHitsSearchEngineException
public void close()
throws SearchEngineException
SearchEngineHitsIt is provided for more controlled resource management
close in interface SearchEngineHitsclose in interface LuceneDelegatedCloseSearchEngineException
public float score(int i)
throws SearchEngineException
SearchEngineHits
score in interface SearchEngineHitsSearchEngineExceptionpublic Hits getHits()
LuceneSearchEngineHits
getHits in interface LuceneSearchEngineHits
public Explanation explain(int i)
throws SearchEngineException
LuceneSearchEngineHits
explain in interface LuceneSearchEngineHitsSearchEngineException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||