diff options
author | mpimenov <mpimenov@users.noreply.github.com> | 2016-09-28 17:39:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-28 17:39:28 +0300 |
commit | 2143577410e715b5867addfb97bb0fdc2c18b170 (patch) | |
tree | a897df805213b862e0af9cffbe691f61f2bcd7a9 /indexer | |
parent | a7575ec0e3711220ea49a0786c69e705743d4118 (diff) | |
parent | c9ef1fa3663816af59c09311d0004a0bb546c236 (diff) |
Merge pull request #4390 from ygorshenin/fix-locality-finder
[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 |