#include <ProxInfo.hpp>
Public Member Functions | |
ProxInfo () | |
Make an empty one. | |
ProxInfo (int num, int tf, const lemur::api::DocInfoList *dl) | |
Make one from an InvFPDocList. | |
ProxInfo (int num, int tf, lemur::api::LOC_T *pl) | |
Make one from a doc positions list. | |
~ProxInfo () | |
clean up. | |
int | id () const |
document id of current entry | |
lemur::api::COUNT_T | count () const |
term freq of current entry | |
const lemur::api::LOC_T * | positions () const |
positions array of current entry | |
lemur::api::LOC_T | position (int k) const |
void | startIteration () |
Iteration support (restartable). | |
bool | hasMore () |
have any more? | |
bool | nextDoc () |
Advance to next document, return false if no more docs. | |
bool | nextDoc (lemur::api::DOCID_T did) |
int | posSize () const |
how long is the list of positions for all docs. | |
Public Attributes | |
int | size |
window size | |
int | nextPos |
Private Attributes | |
lemur::api::LOC_T * | posList |
list of positions in document for operators | |
const lemur::index::InvFPDocList * | dList |
contains list of positions in document for terms | |
lemur::index::InvFPDocInfo | currEntry |
int | listSize |
Provides support for ordered and unordered window operators. Used to prune document lists before scoring the documents.
|
Make an empty one.
|
|
Make one from an InvFPDocList.
|
|
Make one from a doc positions list.
|
|
clean up.
|
|
term freq of current entry
|
|
have any more?
|
|
document id of current entry
|
|
Advance to document did, return false if not in list and stop on next doc after did. |
|
Advance to next document, return false if no more docs.
|
|
return position value at index k in the current entry's position list |
|
positions array of current entry
|
|
how long is the list of positions for all docs.
|
|
Iteration support (restartable).
|
|
|
|
contains list of positions in document for terms
|
|
|
|
next position of this term in document used by unordered window // unneeded? |
|
list of positions in document for operators
|
|
window size
|