X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ee32315378868748fe3704616e9ca860cdc97da9..fc038261b9fe7f7d89a4000496185e72ac100a2a:/lib-php/TokenPartial.php?ds=sidebyside diff --git a/lib-php/TokenPartial.php b/lib-php/TokenPartial.php index 131bb2a3..112154b2 100644 --- a/lib-php/TokenPartial.php +++ b/lib-php/TokenPartial.php @@ -90,6 +90,7 @@ class Partial $oNewSearch->addPartialNameToken( $this->iId, $this->iSearchNameCount < CONST_Max_Word_Frequency, + $this->iSearchNameCount > CONST_Search_NameOnlySearchFrequencyThreshold, $oPosition->getPhrase() );