JASSv2
Public Member Functions | Public Attributes | List of all members
JASS_anytime_thread_result Class Reference

Results from a single thread of execution in parallel search. More...

#include <JASS_anytime_thread_result.h>

Public Member Functions

void push_back (const std::string &query_id, const std::string &query, const std::string &results_list, size_t postings_processed, size_t search_time_in_ns)
 
std::map< std::string, JASS_anytime_result >::iterator begin ()
 
std::map< std::string, JASS_anytime_result >::iterator end ()
 

Public Attributes

std::map< std::string, JASS_anytime_resultresults
 The results from each query (keyed on the query id)
 

Detailed Description

Results from a single thread of execution in parallel search.

Member Function Documentation

◆ push_back()

void JASS_anytime_thread_result::push_back ( const std::string &  query_id,
const std::string &  query,
const std::string &  results_list,
size_t  postings_processed,
size_t  search_time_in_ns 
)
inline
Parameters
query_id[in] The query ID
query[in] The query
results_list[in] The results list (normally in TREC format)
postings_processed[in] The numvber of postings processed (that is, <docid, impact> pairs)
search_time_in_ns[in] The time it took to resolve the query

The documentation for this class was generated from the following file: