#include <StructQueryRep.hpp>
Inheritance diagram for StructQueryRep:

Public Methods | |
| StructQueryRep (StructQuery &qry, InvFPIndex &dbIndex, double dbelief=0) | |
| Parse the text representation into a structured query rep. | |
| virtual | ~StructQueryRep () |
| virtual QnList * | getChildren (StructQuery &qry) |
| Parse the text representation of the children of a query node. | |
| virtual QnList * | getWeightedChildren (StructQuery &qry) |
| Parse the text representation of the children of a weighted query node. | |
| virtual QnList * | getProxChildren (StructQuery &qry) |
| Parse the text representation of the children of a proximity query node. | |
| virtual QueryNode * | getQryNode (StructQuery &qry, TokenTerm *tok, double w) |
| Parse the text representation of a weighted query node. | |
| virtual QueryNode * | getProxQryNode (StructQuery &qry, TokenTerm *tok) |
| Parse the text representation of a proximity query node. | |
| virtual QueryNode * | topnode () |
| Get the topnode of the query parse tree. | |
| virtual void | setTopnode (QueryNode *qn) |
| Set the topnode of the query parse tree. | |
| virtual void | copyDocList (DocInfoList *dl, QueryNode *qn) |
| Copy the DocInfoList for a given node. | |
| virtual void | unionDocList (QueryNode *qn) |
| Union the DocInfoLists of a given node. | |
| virtual void | intersectDocList (QueryNode *qn) |
| Intersect the DocInfoLists of a given node. | |
| virtual void | termOffsetList (QueryNode *qn, int did) |
| Construct the term offset list of a given node for a given doc id. | |
| virtual bool | foundOrderedProx (int bpos, int wsize, QnList *cl, int ith) |
| recursively find matching windows for ordered proximity operator. | |
| virtual void | orderedProxList (QueryNode *qn) |
| Prune proximity list for ordered proximity operator. | |
| virtual void | unorderedProxList (QueryNode *qn) |
| Prune proximity list for unordered proximity operators. | |
| virtual bool | findUnorderedWin (QueryNode *cqn, QnList *cl, int winSize) |
| recursively find matching windows for ordered proximity operators. | |
| virtual void | synonymProxList (QueryNode *qn) |
| construct the proximity list synonym operator. | |
Protected Attributes | |
| QueryNode * | TopNode |
| Top node of the query parse tree. | |
| QueryNode * | qStack [100] |
| stack of query nodes for parsing nested nodes. | |
| int | TopqStack |
| index of top of qStack. | |
| double | dw |
| default weight. | |
| InvFPIndex & | ind |
| Our index. Must be an InvFPIndex. | |
|
||||||||||||||||
|
Parse the text representation into a structured query rep.
|
|
|
|
|
||||||||||||
|
Copy the DocInfoList for a given node.
|
|
||||||||||||||||
|
recursively find matching windows for ordered proximity operators.
|
|
||||||||||||||||||||
|
recursively find matching windows for ordered proximity operator.
|
|
|
Parse the text representation of the children of a query node.
|
|
|
Parse the text representation of the children of a proximity query node.
|
|
||||||||||||
|
Parse the text representation of a proximity query node.
|
|
||||||||||||||||
|
Parse the text representation of a weighted query node.
|
|
|
Parse the text representation of the children of a weighted query node.
|
|
|
Intersect the DocInfoLists of a given node.
|
|
|
Prune proximity list for ordered proximity operator.
|
|
|
Set the topnode of the query parse tree.
|
|
|
construct the proximity list synonym operator.
|
|
||||||||||||
|
Construct the term offset list of a given node for a given doc id.
|
|
|
Get the topnode of the query parse tree.
|
|
|
Union the DocInfoLists of a given node.
|
|
|
Prune proximity list for unordered proximity operators.
|
|
|
default weight.
|
|
|
Our index. Must be an InvFPIndex.
Reimplemented in InQueryRep. |
|
|
stack of query nodes for parsing nested nodes.
|
|
|
Top node of the query parse tree.
|
|
|
index of top of qStack.
|
1.2.18