strus  0.17
Namespaces | Functions
storage_prgload_std.hpp File Reference

Various functions to instantiate strus storage and query evaluation components from configuration programs loaded from source. More...

#include "strus/index.hpp"
#include <string>
#include <vector>
#include <map>

Go to the source code of this file.

Namespaces

 strus
 strus toplevel namespace
 

Functions

bool strus::load_queryeval_program (QueryEvalInterface &qeval, const std::vector< std::string > &analyzerterms, const QueryProcessorInterface *qproc, const std::string &source, ErrorBufferInterface *errorhnd)
 Load a query evaluation program from source. More...
 
int strus::load_metadata_assignments (StorageClientInterface &storage, const std::string &metadataName, const std::multimap< std::string, strus::Index > *attributemapref, const std::string &file, int commitSize, ErrorBufferInterface *errorhnd)
 Load some meta data assignments for a storage from a stream. More...
 
int strus::load_attribute_assignments (StorageClientInterface &storage, const std::string &attributeName, const std::multimap< std::string, strus::Index > *attributemapref, const std::string &file, int commitSize, ErrorBufferInterface *errorhnd)
 Load some attribute assignments for a storage from a stream. More...
 
int strus::load_user_assignments (StorageClientInterface &storage, const std::multimap< std::string, strus::Index > *attributemapref, const std::string &file, int commitSize, ErrorBufferInterface *errorhnd)
 Load some user rights assignments for a storage from a stream. More...
 
bool strus::load_vectors (VectorStorageClientInterface *vstorage, const std::string &vectorfile, bool networkOrder, char typeValueSeparator, int commitSize, ErrorBufferInterface *errorhnd)
 Adds the feature definitions in the file (word2vec text or binary format) given by a path to a vector storage. More...
 

Detailed Description

Various functions to instantiate strus storage and query evaluation components from configuration programs loaded from source.