public class RDBMSSearchResult extends Object implements SearchResultIF
| Modifier and Type | Field and Description |
|---|---|
protected List<RDBMSDocument> |
docs |
protected float[] |
scores |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected List<RDBMSDocument> docs
protected float[] scores
public DocumentIF getDocument(int hit) throws IOException
SearchResultIFgetDocument in interface SearchResultIFIOExceptionpublic float getScore(int hit)
throws IOException
SearchResultIFgetScore in interface SearchResultIFIOExceptionpublic int hits()
SearchResultIFhits in interface SearchResultIF