diff options
author | Yuri Gorshenin <y@maps.me> | 2016-09-21 17:25:16 +0300 |
---|---|---|
committer | Yuri Gorshenin <y@maps.me> | 2016-09-27 16:29:47 +0300 |
commit | 5951f4c0f834a139a78aa375e839b84ebde75bd4 (patch) | |
tree | 55313679578a29fa47aa07078334377692189bc0 /indexer | |
parent | 87312eac6498904a0f33cf51fe3524aff83b61cc (diff) |
[search] Fixed locality matching code.
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/index.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indexer/index.hpp b/indexer/index.hpp index b593e25b2f..3f43d2b707 100644 --- a/indexer/index.hpp +++ b/indexer/index.hpp @@ -54,6 +54,9 @@ public: inline feature::RegionData const & GetRegionData() const { return m_factory.GetRegionData(); } inline version::MwmVersion const & GetMwmVersion() const { return m_factory.GetMwmVersion(); } inline string const & GetCountryFileName() const { return m_file.GetCountryFile().GetName(); } + + inline bool HasSearchIndex() { return m_cont.IsExist(SEARCH_INDEX_FILE_TAG); } + inline bool HasGeometryIndex() { return m_cont.IsExist(INDEX_FILE_TAG); } }; class Index : public MwmSet |