mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
Fix partial word computation
Partial word tokens have a space at the beginning of the token not the word.
This commit is contained in:
@@ -138,7 +138,7 @@ class TokenList
|
|||||||
} else {
|
} else {
|
||||||
$oToken = new Token\Word(
|
$oToken = new Token\Word(
|
||||||
$iId,
|
$iId,
|
||||||
$aWord['word'][0] != ' ',
|
$aWord['word_token'][0] != ' ',
|
||||||
(int) $aWord['count']
|
(int) $aWord['count']
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user