From 8d60d58c71827d31656ea698726d574e6211c7eb Mon Sep 17 00:00:00 2001 From: vng Date: Sat, 11 Jan 2014 14:57:36 +0300 Subject: [PATCH] [search] Increase queue capacity and street's merging delta. --- search/house_detector.cpp | 2 +- search/search_engine.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/search/house_detector.cpp b/search/house_detector.cpp index 29a455bcf5..7bba0ef6c4 100644 --- a/search/house_detector.cpp +++ b/search/house_detector.cpp @@ -49,7 +49,7 @@ void GetStreetName(strings::SimpleTokenizer iter, string & streetName) } } -double const STREET_CONNECTION_LENGTH_M = 25.0; +double const STREET_CONNECTION_LENGTH_M = 100.0; void House::InitHouseNumberAndSuffix() { diff --git a/search/search_engine.cpp b/search/search_engine.cpp index 07946461b0..915680ef6f 100644 --- a/search/search_engine.cpp +++ b/search/search_engine.cpp @@ -85,7 +85,7 @@ Engine::Engine(IndexType const * pIndex, Reader * pCategoriesR, &m_pData->m_categories, &m_pData->m_stringsToSuggest, &m_pData->m_infoGetter, - 50)); // Temporary for houses test + 100)); /// @todo temporary solution for house search, we should increase size, because for one street we can have a lot of features. m_pQuery->SetPreferredLanguage(lang); }