X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b14ce959d9532f192b748b12f6c71f23a9c1a60b..3734f1d0b84c642ba89b5a4c39bac845f5627be7:/lib-php/TokenPartial.php?ds=inline diff --git a/lib-php/TokenPartial.php b/lib-php/TokenPartial.php index 131bb2a3..3dc6f308 100644 --- a/lib-php/TokenPartial.php +++ b/lib-php/TokenPartial.php @@ -1,4 +1,12 @@ addPartialNameToken( $this->iId, $this->iSearchNameCount < CONST_Max_Word_Frequency, + $this->iSearchNameCount > CONST_Search_NameOnlySearchFrequencyThreshold, $oPosition->getPhrase() );