gate.creole.ir
Class QueryResult
java.lang.Object
gate.creole.ir.QueryResult
public class QueryResult
- extends Object
Constructor Summary |
QueryResult(Object docID,
float relevance,
List fieldValues)
Constructor of the class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryResult
public QueryResult(Object docID,
float relevance,
List fieldValues)
- Constructor of the class.
getDocumentID
public Object getDocumentID()
- Returns:
- persistance document ID.
getScore
public float getScore()
- Returns:
- relevance of this result.
getFields
public List getFields()
- returns certain document fields (if specified) from the search() call