|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.search.api.helper.RecordAccessor
org.eclipse.smila.search.api.helper.ResultRecordAccessor
public class ResultRecordAccessor
wrapper for search result records. Provides easier access to relevance and highlight annotations.
| Constructor Summary | |
|---|---|
ResultRecordAccessor(Record record)
create instance. |
|
| Method Summary | |
|---|---|
HighlightInfo |
getHighlightInfo()
|
HighlightInfo |
getHighlightInfo(java.lang.String attributeName)
|
java.lang.Double |
getRelevance()
|
| Methods inherited from class org.eclipse.smila.search.api.helper.RecordAccessor |
|---|
annotationSize, annotationSize, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotationValue, getAnnotationValues, getLiteral, getLiterals, getRecord, getResultAnnotationFloatValue, getResultAnnotationIntValue, getResultAnnotationValue, getTerms, hasAnnotation, hasAnnotation, hasAttribute, hasLiterals, literalSize, unmodifiableList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResultRecordAccessor(Record record)
record - result record.| Method Detail |
|---|
public java.lang.Double getRelevance()
public HighlightInfo getHighlightInfo()
public HighlightInfo getHighlightInfo(java.lang.String attributeName)
attributeName - name of attribute
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||