|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.infoset.fulltext.impl.lucene.LuceneSearchResult
public class LuceneSearchResult
INTERNAL: Lucene search result wrapper implementation.
| Field Summary | |
|---|---|
protected org.apache.lucene.search.Hits |
hits
|
| Method Summary | |
|---|---|
DocumentIF |
getDocument(int hit)
INTERNAL: Returns the document located at the given index. |
float |
getScore(int hit)
INTERNAL: Returns the score of the document located at the given index. |
int |
hits()
INTERNAL: Returns the number of hits (documents) in the search result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.lucene.search.Hits hits
| Method Detail |
|---|
public DocumentIF getDocument(int hit)
throws java.io.IOException
SearchResultIF
getDocument in interface SearchResultIFjava.io.IOException
public float getScore(int hit)
throws java.io.IOException
SearchResultIF
getScore in interface SearchResultIFjava.io.IOExceptionpublic int hits()
SearchResultIF
hits in interface SearchResultIF
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||