#include <result.h>
Public Member Functions | |
Result (Document &doc) | |
Result (Document &doc, score_t score) | |
~Result () | |
std::string | get_id (void) |
std::string | get (std::string field_name) |
score_t | get_score (void) |
Lux::Result::Result | ( | Document & | doc, | |
score_t | score | |||
) |
constructor
doc | reference to Document | |
score | score structure |
Lux::Result::~Result | ( | ) | [inline] |
destructor
std::string Lux::Result::get | ( | std::string | field_name | ) |
get the field value
std::string Lux::Result::get_id | ( | void | ) |
get the result document ID
score_t Lux::Result::get_score | ( | void | ) |
get the score structure