Class RDBMSSearchResult
java.lang.Object
net.ontopia.infoset.fulltext.impl.rdbms.RDBMSSearchResult
- All Implemented Interfaces:
SearchResultIF
INTERNAL: RDBMS search result implementation.
-
Field Summary
Fields -
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.
-
Field Details
-
docs
-
scores
protected float[] scores
-
-
Method Details
-
getDocument
Description copied from interface:SearchResultIFINTERNAL: Returns the document located at the given index.- Specified by:
getDocumentin interfaceSearchResultIF- Throws:
IOException
-
getScore
Description copied from interface:SearchResultIFINTERNAL: Returns the score of the document located at the given index.- Specified by:
getScorein interfaceSearchResultIF- Throws:
IOException
-
hits
public int hits()Description copied from interface:SearchResultIFINTERNAL: Returns the number of hits (documents) in the search result.- Specified by:
hitsin interfaceSearchResultIF
-