forked from organicmaps/organicmaps
[search] Tweak spell correction limits.
This commit is contained in:
parent
4a25896ad9
commit
865e04cd78
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ struct FeatureProcessor
|
|||
|
||||
void operator () (FeatureType const & feature) const
|
||||
{
|
||||
KeywordMatcher matcher(&m_query.m_keywords[0], m_query.m_keywords.size(),
|
||||
m_query.m_prefix, 1000, 1000,
|
||||
KeywordMatcher matcher(&m_query.m_keywords[0], m_query.m_keywords.size(), m_query.m_prefix,
|
||||
512, 256 * max(0, int(m_query.m_prefix.size()) - 1),
|
||||
&KeywordMatch, &PrefixMatch);
|
||||
feature.ForEachNameRef(matcher);
|
||||
m_query.AddResult(Result(feature.GetPreferredDrawableName(), feature.GetLimitRect(-1),
|
||||
|
|
Loading…
Add table
Reference in a new issue