|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gate.creole.ir.QueryResult
Field Summary | |
private Object |
docID
Persistance document ID. |
private List |
fieldValues
List of Terms |
private float |
relevance
Score(relevance) of the result between 0 and 1 |
Constructor Summary | |
QueryResult(Object docID,
float relevance,
List fieldValues)
Constructor of the class. |
Method Summary | |
Object |
getDocumentID()
|
List |
getFields()
returns certain document fields (if specified) from the search() call |
float |
getScore()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Object docID
private float relevance
private List fieldValues
Constructor Detail |
public QueryResult(Object docID, float relevance, List fieldValues)
Method Detail |
public Object getDocumentID()
public float getScore()
public List getFields()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |