Interface SearchResultIF
- All Known Implementing Classes:
LuceneSearchResult,RDBMSSearchResult
public interface SearchResultIF
INTERNAL: A search result containing a list of ranked hits.
-
Method Summary
Modifier and TypeMethodDescriptiongetDocument(int hit) INTERNAL: Returns the document located at the given index.floatgetScore(int hit) INTERNAL: Returns the score of the document located at the given index.inthits()INTERNAL: Returns the number of hits (documents) in the search result.
-
Method Details
-
getDocument
INTERNAL: Returns the document located at the given index.- Throws:
IOException
-
getScore
INTERNAL: Returns the score of the document located at the given index.- Throws:
IOException
-
hits
INTERNAL: Returns the number of hits (documents) in the search result.- Throws:
IOException
-