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
SearchResultIF
getDocument
in interface SearchResultIF
IOException
public float getScore(int hit) throws IOException
SearchResultIF
getScore
in interface SearchResultIF
IOException
public int hits()
SearchResultIF
hits
in interface SearchResultIF