Robert Vogel has submitted this change and it was merged. Change subject: Adjusted boosts ......................................................................
Adjusted boosts The boosting was way to high so text founds did not have a real relevance. Put direct match, text and title fields with WordDelimiterFilterFactory on same level. Change-Id: I4a066d91126cdacccd272150ebcdbf62e2e7b73e --- M ExtendedSearch/includes/SearchIndex/SearchOptions.class.php 1 file changed, 6 insertions(+), 6 deletions(-) Approvals: Robert Vogel: Verified; Looks good to me, approved diff --git a/ExtendedSearch/includes/SearchIndex/SearchOptions.class.php b/ExtendedSearch/includes/SearchIndex/SearchOptions.class.php index 3b03bb9..efb91e3 100644 --- a/ExtendedSearch/includes/SearchIndex/SearchOptions.class.php +++ b/ExtendedSearch/includes/SearchIndex/SearchOptions.class.php @@ -321,16 +321,16 @@ $this->aOptions['scope'] = $scope; $aSearchTitle = array( - 'titleWord:("' . $this->aOptions['searchStringOrig'] . '")^50', - 'titleWord:(' . $this->aOptions['searchStringOrig'] . ')^10', - 'titleReverse:(' . $this->aOptions['searchStringWildcarded'] . ')^1', - 'redirects:(' . $this->aOptions['searchStringOrig'] . ')^0.1' + 'titleWord:("' . $this->aOptions['searchStringOrig'] . '")^2', + 'titleWord:(' . $this->aOptions['searchStringOrig'] . ')^2', + 'titleReverse:(' . $this->aOptions['searchStringWildcarded'] . ')', + 'redirects:(' . $this->aOptions['searchStringOrig'] . ')' ); $aSearchText = array( 'textWord:(' . $this->aOptions['searchStringOrig'] .')^2', - 'textReverse:(' . $this->aOptions['searchStringWildcarded'] . ')^0.1', - 'sections:(' . $this->aOptions['searchStringOrig'] . ')^0.1' + 'textReverse:(' . $this->aOptions['searchStringWildcarded'] . ')', + 'sections:(' . $this->aOptions['searchStringOrig'] . ')' ); $sSearchStringTitle = implode( ' OR ', $aSearchTitle ); -- To view, visit https://gerrit.wikimedia.org/r/168304 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I4a066d91126cdacccd272150ebcdbf62e2e7b73e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions Gerrit-Branch: master Gerrit-Owner: Smuggli <mug...@hallowelt.biz> Gerrit-Reviewer: Mglaser <gla...@hallowelt.biz> Gerrit-Reviewer: Pigpen <reym...@hallowelt.biz> Gerrit-Reviewer: Robert Vogel <vo...@hallowelt.biz> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits