Avoids that the interpreation of a term as partial term
is ranked higher than as a special term like postcode
or house number.
Fixes #847.
&& (!sizeof($this->aName) || $this->iNamePhrase == $iPhrase)
) {
$oSearch = clone $this;
&& (!sizeof($this->aName) || $this->iNamePhrase == $iPhrase)
) {
$oSearch = clone $this;
- $oSearch->iSearchRank++;
+ $oSearch->iSearchRank += 2;
if (!sizeof($this->aName)) {
$oSearch->iSearchRank += 1;
}
if (!sizeof($this->aName)) {
$oSearch->iSearchRank += 1;
}