#pragma once #include "search/query_params.hpp" #include "geometry/rect2d.hpp" #include "base/cancellable.hpp" #include "std/unique_ptr.hpp" class MwmValue; namespace coding { class CompressedBitVector; } namespace search { class MwmContext; class TokenSlice; // Retrieves from the search index corresponding to |value| all // features matching to |params|. unique_ptr RetrieveAddressFeatures(MwmContext const & context, my::Cancellable const & cancellable, QueryParams const & params); // Retrieves from the search index corresponding to |value| all // postcodes matching to |slice|. unique_ptr RetrievePostcodeFeatures( MwmContext const & context, my::Cancellable const & cancellable, TokenSlice const & slice); // Retrieves from the geometry index corresponding to |value| all features belonging to |rect|. unique_ptr RetrieveGeometryFeatures( MwmContext const & context, my::Cancellable const & cancellable, m2::RectD const & rect, int scale); } // namespace search