mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +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 {
|
||||
$oToken = new Token\Word(
|
||||
$iId,
|
||||
$aWord['word'][0] != ' ',
|
||||
$aWord['word_token'][0] != ' ',
|
||||
(int) $aWord['count']
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user