diff options
Diffstat (limited to 'search/retrieval.hpp')
-rw-r--r-- | search/retrieval.hpp | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/search/retrieval.hpp b/search/retrieval.hpp index 79b7fd6452..7540211db3 100644 --- a/search/retrieval.hpp +++ b/search/retrieval.hpp @@ -21,16 +21,24 @@ namespace search namespace v2 { class MwmContext; +class TokenSlice; // Retrieves from the search index corresponding to |value| all // features matching to |params|. -unique_ptr<coding::CompressedBitVector> RetrieveAddressFeatures( - MwmSet::MwmId const & id, MwmValue & value, my::Cancellable const & cancellable, - SearchQueryParams const & params); +unique_ptr<coding::CompressedBitVector> RetrieveAddressFeatures(MwmSet::MwmId const & id, + MwmValue & value, + my::Cancellable const & cancellable, + SearchQueryParams const & params); + +// Retrieves from the search index corresponding to |value| all +// postcodes matching to |slice|. +unique_ptr<coding::CompressedBitVector> RetrievePostcodeFeatures( + MwmSet::MwmId const & id, MwmValue & value, my::Cancellable const & cancellable, + TokenSlice const & slice); // Retrieves from the geometry index corresponding to |value| all features belonging to |rect|. unique_ptr<coding::CompressedBitVector> RetrieveGeometryFeatures( - MwmContext const & context, my::Cancellable const & cancellable, - m2::RectD const & rect, int scale); + MwmContext const & context, my::Cancellable const & cancellable, m2::RectD const & rect, + int scale); } // namespace v2 } // namespace search |