Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lemurproject::lemur::RetrievalMethod Class Reference

Inheritance diagram for lemurproject::lemur::RetrievalMethod:

lemurproject::lemur::IndriRetMethod lemurproject::lemur::StructQueryRetMethod lemurproject::lemur::TextQueryRetMethod List of all members.

Public Member Functions

synchronized void delete ()
abstract IndexedReal[] runQuery (String searchQuery) throws Exception
void scoreCollection (QueryRep qry, IndexedReal[] results) throws java.lang.Exception
void updateQuery (QueryRep qryRep, WeightedIDSet relDocs) throws java.lang.Exception

Protected Member Functions

 RetrievalMethod (long cPtr, boolean cMemoryOwn)
void finalize ()

Static Protected Member Functions

long getCPtr (RetrievalMethod obj)

Protected Attributes

boolean swigCMemOwn

Private Attributes

long swigCPtr

Constructor & Destructor Documentation

lemurproject::lemur::RetrievalMethod::RetrievalMethod long  cPtr,
boolean  cMemoryOwn
[inline, protected]
 


Member Function Documentation

synchronized void lemurproject::lemur::RetrievalMethod::delete  )  [inline]
 

Reimplemented in lemurproject::lemur::IndriRetMethod, lemurproject::lemur::StructQueryRetMethod, and lemurproject::lemur::TextQueryRetMethod.

void lemurproject::lemur::RetrievalMethod::finalize  )  [inline, protected]
 

Reimplemented in lemurproject::lemur::IndriRetMethod, lemurproject::lemur::StructQueryRetMethod, and lemurproject::lemur::TextQueryRetMethod.

long lemurproject::lemur::RetrievalMethod::getCPtr RetrievalMethod  obj  )  [inline, static, protected]
 

abstract IndexedReal [] lemurproject::lemur::RetrievalMethod::runQuery String  searchQuery  )  throws Exception [pure virtual]
 

Run a string query. Specialized by RetrievalMethod subclasses.

Parameters:
searchQuery the query to run
Returns:
array of IndexedReal results
Exceptions:
Exception if a lemur::api::Exception was thrown by the JNI library.

Implemented in lemurproject::lemur::IndriRetMethod, lemurproject::lemur::StructQueryRetMethod, and lemurproject::lemur::TextQueryRetMethod.

void lemurproject::lemur::RetrievalMethod::scoreCollection QueryRep  qry,
IndexedReal[]  results
throws java.lang.Exception [inline]
 

Score all documents in the collection

Exceptions:
Exception if a lemur::api::Exception was thrown by the JNI library.

void lemurproject::lemur::RetrievalMethod::updateQuery QueryRep  qryRep,
WeightedIDSet  relDocs
throws java.lang.Exception [inline]
 

update the query, feedback support

Exceptions:
Exception if a lemur::api::Exception was thrown by the JNI library.


Member Data Documentation

boolean lemurproject::lemur::RetrievalMethod::swigCMemOwn [protected]
 

long lemurproject::lemur::RetrievalMethod::swigCPtr [private]
 

Reimplemented in lemurproject::lemur::IndriRetMethod, lemurproject::lemur::StructQueryRetMethod, and lemurproject::lemur::TextQueryRetMethod.


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:07 2010 for Lemur by doxygen 1.3.4