diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-04-28 17:17:18 +0300 |
---|---|---|
committer | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-05-19 15:22:26 +0300 |
commit | fab109012e9b368ac52e34a2bc1cbfa3f9447412 (patch) | |
tree | 44179dc8e52f1c4f87af6fe3a8255048dcdd94d5 /indexer/ftypes_matcher.cpp | |
parent | 36c2e85ebb2872e91564a382cefd824a6ab9f034 (diff) |
Added special search marks for local ads and tinkoff objects
Diffstat (limited to 'indexer/ftypes_matcher.cpp')
-rw-r--r-- | indexer/ftypes_matcher.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indexer/ftypes_matcher.cpp b/indexer/ftypes_matcher.cpp index 30718a76ae..aedb052684 100644 --- a/indexer/ftypes_matcher.cpp +++ b/indexer/ftypes_matcher.cpp @@ -362,6 +362,18 @@ IsBookingChecker const & IsBookingChecker::Instance() return inst; } +IsTinkoffChecker::IsTinkoffChecker() +{ + Classificator const & c = classif(); + m_types.push_back(c.GetTypeByPath({"sponsored", "tinkoff"})); +} + +IsTinkoffChecker const & IsTinkoffChecker::Instance() +{ + static IsTinkoffChecker const inst; + return inst; +} + IsHotelChecker::IsHotelChecker() { Classificator const & c = classif(); |