#include <ProxInfo.hpp>
Public Methods | |
ProxInfo () | |
Make an empty one. | |
ProxInfo::ProxInfo (int num, int tf, const DocInfoList *dl) | |
Make one from an InvFPDocList. | |
ProxInfo (int num, int tf, LOC_T *pl) | |
Make one from a doc positions list. | |
~ProxInfo () | |
clean up. | |
int | id () const |
document id of current entry | |
COUNT_T | count () const |
term freq of current entry | |
const LOC_T * | positions () const |
positions array of current entry | |
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 (DOCID_T did) |
int | posSize () const |
how long is the list of positions for all docs. | |
Public Attributes | |
int | size |
window size | |
int | nextPos |
|
Make an empty one.
|
|
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.
|
|
Make one from an InvFPDocList.
|
|
Iteration support (restartable).
|
|
next position of this term in document used by unordered window // unneeded? |
|
window size
|