Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

StructQueryRep Class Reference

#include <StructQueryRep.hpp>

Inheritance diagram for StructQueryRep:

QueryRep InQueryRep List of all members.

Public Methods

 StructQueryRep (const TermQuery &qry, const Index &dbIndex, double dbelief=0)
 Parse the text representation into a structured query rep.

virtual ~StructQueryRep ()
virtual QueryNodetopnode () const
virtual void setTopnode (QueryNode *qn)
 Set the topnode of the query parse tree.


Detailed Description

Structured query representation. Converts the textual representation of the structured query into a tree structure of QueryNodes. Constructs the proximity lists and DocInfoLists for the individual nodes, pruning the set of documents that will actually need to be scored.


Constructor & Destructor Documentation

StructQueryRep::StructQueryRep const TermQuery   qry,
const Index   dbIndex,
double    dbelief = 0
 

Parse the text representation into a structured query rep.

virtual StructQueryRep::~StructQueryRep   [inline, virtual]
 


Member Function Documentation

virtual void StructQueryRep::setTopnode QueryNode   qn [inline, virtual]
 

Set the topnode of the query parse tree.

virtual QueryNode* StructQueryRep::topnode   const [inline, virtual]
 

Get the topnode of the query parse tree. maybe this method should return a const object so it can't be deleted but sometimes we want to allow caller to change node's weight.


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:56 2004 for Lemur Toolkit by doxygen1.2.18