From 119ffbab40f3422855ca2c769b9e266d6a446d58 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 18 Sep 2018 21:54:08 +0200 Subject: [PATCH] address tokens get a double search rank also as full terms Fixes #1170. --- lib/SearchDescription.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SearchDescription.php b/lib/SearchDescription.php index 079cb8a6..35424b52 100644 --- a/lib/SearchDescription.php +++ b/lib/SearchDescription.php @@ -287,7 +287,7 @@ class SearchDescription if (!empty($this->aName) || !($bFirstPhrase || $sPhraseType == '')) { if (($sPhraseType == '' || !$bFirstPhrase) && !$bHasPartial) { $oSearch = clone $this; - $oSearch->iSearchRank++; + $oSearch->iSearchRank += 2; $oSearch->aAddress[$iWordID] = $iWordID; $aNewSearches[] = $oSearch; } else { -- 2.39.5