#include <ProxInfo.hpp>
Public Methods | |
ProxInfo () | |
Make an empty one. | |
ProxInfo::ProxInfo (int num, int tf, DocInfoList *dl) | |
Make one from a DocInfoList. | |
ProxInfo (int num, int tf, int *pl) | |
Make one from a doc positions list. | |
~ProxInfo () | |
clean up. | |
int | id () |
document id of current entry | |
int | count () |
term freq of current entry | |
int * | positions () |
positions array of current entry | |
int | position (int k) |
void | startIteration () |
Iteration support (restartable). | |
bool | hasMore () |
have any more? | |
bool | nextDoc () |
Advance to next document, return false if no more docs. | |
bool | nextDoc (int did) |
int | posSize () |
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 a DocInfoList.
|
|
Iteration support (restartable).
|
|
next position of this term in document used by unordered window // unneeded? |
|
window size
|