|
Public Member Functions |
| | QueryThread (std::queue< query_t * > &queries, std::priority_queue< query_t *, std::vector< query_t * >, query_t::greater > &output, indri::thread::Lockable &queueLock, indri::thread::ConditionVariable &queueEvent, indri::api::Parameters ¶ms) |
| | ~QueryThread () |
| UINT64 | initialize () |
| void | deinitialize () |
| bool | hasWork () |
| UINT64 | work () |
Private Member Functions |
| void | _runQuery (std::stringstream &output, const std::string &query, const std::string &queryType) |
| void | _printResultRegion (std::stringstream &output, std::string queryIndex, int start, int end) |
| void | _printResults (std::stringstream &output, std::string queryNumber) |
Private Attributes |
| indri::thread::Lockable & | _queueLock |
| indri::thread::ConditionVariable & | _queueEvent |
| std::queue< query_t * > & | _queries |
std::priority_queue< query_t *,
std::vector< query_t * >,
query_t::greater > & | _output |
| indri::api::QueryEnvironment | _environment |
| indri::api::Parameters & | _parameters |
| int | _requested |
| int | _initialRequested |
| bool | _printDocuments |
| bool | _printPassages |
| bool | _printSnippets |
| bool | _printQuery |
| std::string | _runID |
| bool | _trecFormat |
| bool | _inexFormat |
| indri::query::QueryExpander * | _expander |
| std::vector< indri::api::ScoredExtentResult > | _results |
| indri::api::QueryAnnotation * | _annotation |