strus
0.17
|
Structure defining one result element of a strus query. More...
#include <resultDocument.hpp>
Public Member Functions | |
ResultDocument () | |
Default constructor. More... | |
ResultDocument (const ResultDocument &o) | |
Copy constructor. More... | |
ResultDocument (const WeightedDocument &o, const std::vector< SummaryElement > &summaryElements_) | |
Constructor from a composition of the pure query evaluation result and the summary elements. More... | |
ResultDocument (const WeightedDocument &o) | |
Constructor from a composition of the pure query evaluation result without summary elements. More... | |
ResultDocument (const Index &docno_, double weight_, const std::vector< SummaryElement > &summaryElements_) | |
Constructor from a composition its basic parts. More... | |
const std::vector < SummaryElement > & | summaryElements () const |
Get the list of summary elements of this result. More... | |
Public Member Functions inherited from strus::WeightedDocument | |
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... | |
Structure defining one result element of a strus query.
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Constructor from a composition of the pure query evaluation result and the summary elements.
|
inline |
Constructor from a composition of the pure query evaluation result without summary elements.
|
inline |
Constructor from a composition its basic parts.
|
inline |
Get the list of summary elements of this result.