Commit ca4e9f83 authored by Aria Givi's avatar Aria Givi
Browse files

Boostfaktor runtergesetzt auf 0.1

parent 6f07224d
......@@ -1098,7 +1098,7 @@ class MetaGer
// matches '[... ]"test satz"[ ...]'
while (preg_match("/(^|.+\s)\"(.+)\"(?:\s(.+)|($))/si", $tmp, $match)) {
$tmp = $match[1] . $match[3];
$this->phrases[] = $match[2];
$this->phrases[] = strtolower($match[2]);
}
foreach ($this->phrases as $phrase) {
$p .= "\"$phrase\", ";
......
......@@ -144,7 +144,7 @@ class Result
$containsPhrase = false;
}
}
return $containsPhrase ? 1 : 0;
return $containsPhrase ? 0.1 : 0;
}
# Berechnet den Ranking-Boost durch ??? URL
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment