strus
0.17
|
Pure ranking result of a strus query without the attributes. More...
#include <weightedDocument.hpp>
Public Member Functions | |
WeightedDocument () | |
Default constructor. More... | |
WeightedDocument (const WeightedDocument &o) | |
Copy constructor. More... | |
WeightedDocument (const Index &docno_, double weight_) | |
Constructor. More... | |
Index | docno () const |
Get the document number of the result. More... | |
double | weight () const |
Get the accumulated weight of the ranking of the result. More... | |
bool | operator< (const WeightedDocument &o) const |
Comparison for sorting. More... | |
bool | operator> (const WeightedDocument &o) const |
Comparison for sorting. More... | |
Pure ranking result of a strus query without the attributes.
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Constructor.
|
inline |
Get the document number of the result.
|
inline |
Comparison for sorting.
|
inline |
Comparison for sorting.
|
inline |
Get the accumulated weight of the ranking of the result.