|
libosmscout 1.1.1
|
#include <libosmscout/include/osmscout/db/TextSearchIndex.h>
Public Types | |
| using | ResultsMap = std::unordered_map<std::string, std::vector<ObjectFileRef> > |
Public Member Functions | |
| TextSearchIndex ()=default | |
| ~TextSearchIndex () | |
| bool | Load (const std::string &path) |
| bool | Search (const std::string &query, bool searchPOIs, bool searchLocations, bool searchRegions, bool searchOther, bool transliterate, ResultsMap &results) const |
Static Public Attributes | |
| static const char *const | TEXT_POI_DAT |
| static const char *const | TEXT_LOC_DAT |
| static const char *const | TEXT_REGION_DAT |
| static const char *const | TEXT_OTHER_DAT |
A class that allows prefix-based searching of text data indexed during import
| using osmscout::TextSearchIndex::ResultsMap = std::unordered_map<std::string, std::vector<ObjectFileRef> > |
|
default |
| osmscout::TextSearchIndex::~TextSearchIndex | ( | ) |
| bool osmscout::TextSearchIndex::Load | ( | const std::string & | path | ) |
| bool osmscout::TextSearchIndex::Search | ( | const std::string & | query, |
| bool | searchPOIs, | ||
| bool | searchLocations, | ||
| bool | searchRegions, | ||
| bool | searchOther, | ||
| bool | transliterate, | ||
| ResultsMap & | results ) const |
|
static |
|
static |
|
static |
|
static |