GATE
Version 3.1-2270

gate.creole.ir
Class QueryResult

java.lang.Object
  extended by gate.creole.ir.QueryResult

public class QueryResult
extends Object


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
 

Constructor Detail

QueryResult

public QueryResult(Object docID,
                   float relevance,
                   List fieldValues)
Constructor of the class.

Method Detail

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


GATE
Version 3.1-2270