ENHANCEMENT Reduced relevancy of changelog results

git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@117893 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2011-04-10 20:52:09 +00:00
parent 9d9483056c
commit 2aaec2f598

View File

@ -57,3 +57,8 @@ if(Director::isLive()) {
} }
Validator::set_javascript_validation_handler('none'); Validator::set_javascript_validation_handler('none');
DocumentationSearch::$boost_by_path = array(
// Changelogs have heaps of phrases, but are rarely relevant for content searches
'/^changelog/' => 0.05
);