|
Public Member Functions |
| LocalQueryServer (indri::collection::Repository &repository) |
QueryServerResponse * | runQuery (std::vector< indri::lang::Node * > &roots, int resultsRequested, bool optimize) |
indri::api::ParsedDocument * | document (lemur::api::DOCID_T documentID) |
std::string | documentMetadatum (lemur::api::DOCID_T documentID, const std::string &attributeName) |
QueryServerDocumentIDsResponse * | documentIDsFromMetadata (const std::string &attributeName, const std::vector< std::string > &attributeValues) |
QueryServerDocumentsResponse * | documentsFromMetadata (const std::string &attributeName, const std::vector< std::string > &attributeValues) |
QueryServerDocumentsResponse * | documents (const std::vector< lemur::api::DOCID_T > &documentIDs) |
QueryServerMetadataResponse * | documentMetadata (const std::vector< lemur::api::DOCID_T > &documentIDs, const std::string &attributeName) |
QueryServerMetadataResponse * | pathNames (const std::vector< lemur::api::DOCID_T > &documentIDs, const std::vector< int > &pathBegins, const std::vector< int > &pathEnds) |
INT64 | termCount () |
INT64 | termCount (const std::string &term) |
INT64 | stemCount (const std::string &stem) |
std::string | termName (lemur::api::TERMID_T term) |
lemur::api::TERMID_T | termID (const std::string &term) |
std::vector< std::string > | fieldList () |
INT64 | termFieldCount (const std::string &term, const std::string &field) |
INT64 | stemFieldCount (const std::string &stem, const std::string &field) |
int | documentLength (lemur::api::DOCID_T documentID) |
INT64 | documentCount () |
INT64 | documentCount (const std::string &term) |
INT64 | documentStemCount (const std::string &term) |
QueryServerVectorsResponse * | documentVectors (const std::vector< lemur::api::DOCID_T > &documentIDs) |
void | setMaxWildcardTerms (int maxTerms) |
| sets the maximum number of terms to be generated for a wildcard term. If the synonym list is greater than this, an exception will be thrown
|
Private Member Functions |
indri::index::Index * | _indexWithDocument (indri::collection::Repository::index_state &state, lemur::api::DOCID_T documentID) |
Private Attributes |
bool | _optimizeParameter |
indri::collection::Repository & | _repository |
indri::lang::ListCache | _cache |
int | _maxWildcardMatchesPerTerm |