Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

indri::api::QueryResult Struct Reference

Structure for aggregating a query result. Provides an aggregate for a query result based an retrieval parameters from a QueryRequest. Can include a text snippet, external document id, internal document id, metadata field values, score, extent begin, and extent end. More...

#include <QueryEnvironment.hpp>

List of all members.

Public Attributes

std::string snippet
 text snippet generated by SnippetBuilder for this result

std::string documentName
 external document id

lemur::api::DOCID_T docid
 internal document id

double score
 query score

int begin
 extent begin

int end
 extent end

std::vector< indri::api::MetadataPairmetadata
 list of retrieved metadata fields


Detailed Description

Structure for aggregating a query result. Provides an aggregate for a query result based an retrieval parameters from a QueryRequest. Can include a text snippet, external document id, internal document id, metadata field values, score, extent begin, and extent end.


Member Data Documentation

int indri::api::QueryResult::begin
 

extent begin

lemur::api::DOCID_T indri::api::QueryResult::docid
 

internal document id

std::string indri::api::QueryResult::documentName
 

external document id

int indri::api::QueryResult::end
 

extent end

std::vector<indri::api::MetadataPair> indri::api::QueryResult::metadata
 

list of retrieved metadata fields

double indri::api::QueryResult::score
 

query score

std::string indri::api::QueryResult::snippet
 

text snippet generated by SnippetBuilder for this result


The documentation for this struct was generated from the following file:
Generated on Tue Jun 15 11:02:59 2010 for Lemur by doxygen 1.3.4