10 #ifndef _STRUS_RESULT_DOCUMENT_HPP_INCLUDED
11 #define _STRUS_RESULT_DOCUMENT_HPP_INCLUDED
37 ResultDocument(
const Index& docno_,
double weight_,
const std::vector<SummaryElement>& summaryElements_)
41 const std::vector<SummaryElement>&
summaryElements()
const {
return m_summaryElements;}
44 std::vector<SummaryElement> m_summaryElements;
ResultDocument(const WeightedDocument &o, const std::vector< SummaryElement > &summaryElements_)
Constructor from a composition of the pure query evaluation result and the summary elements...
Definition: resultDocument.hpp:31
int32_t Index
Number type generally used for locally counted indices.
Definition: index.hpp:29
const std::vector< SummaryElement > & summaryElements() const
Get the list of summary elements of this result.
Definition: resultDocument.hpp:41
Numeric types used for local and global indices.
Structure defining one result element of a strus query.
Definition: resultDocument.hpp:21
ResultDocument(const WeightedDocument &o)
Constructor from a composition of the pure query evaluation result without summary elements...
Definition: resultDocument.hpp:34
Weighted document of the query evaluation (result document without attributes)
Pure ranking result of a strus query without the attributes.
Definition: weightedDocument.hpp:21
Element of summary (result of summarization)
ResultDocument(const Index &docno_, double weight_, const std::vector< SummaryElement > &summaryElements_)
Constructor from a composition its basic parts.
Definition: resultDocument.hpp:37
ResultDocument()
Default constructor.
Definition: resultDocument.hpp:26
ResultDocument(const ResultDocument &o)
Copy constructor.
Definition: resultDocument.hpp:28