jenkins-bot has submitted this change and it was merged.

Change subject: Lower default phrase window to 512
......................................................................


Lower default phrase window to 512

Lower the defualt phrase check from 1024 to 512.  This should lower the io
usage of the phrase check by simply requiring half the data per query.  This
will lower the accuracy somewhat but it shouldn't be horrible.

Change-Id: I965f5b82e12b5ad592de0dbeff9dfd37a525292c
---
M CirrusSearch.php
1 file changed, 2 insertions(+), 4 deletions(-)

Approvals:
  Chad: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/CirrusSearch.php b/CirrusSearch.php
index 08a63fb..ad9e65f 100644
--- a/CirrusSearch.php
+++ b/CirrusSearch.php
@@ -171,10 +171,8 @@
 $wgCirrusSearchPhraseRescoreBoost = 10.0;
 
 // Number of documents per shard for which automatic phrase matches are 
performed if it
-// is enabled.  Note that if both function and phrase rescoring is required 
then the
-// phrase rescore window is used.  TODO update this once Elasticsearch 
supports multiple
-// rescore windows.
-$wgCirrusSearchPhraseRescoreWindowSize = 1024;
+// is enabled.
+$wgCirrusSearchPhraseRescoreWindowSize = 512;
 
 // Number of documents per shard for which function scoring is applied.  This 
is stuff
 // like incoming links boost, prefer-recent decay, and boost-templates.

-- 
To view, visit https://gerrit.wikimedia.org/r/160475
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I965f5b82e12b5ad592de0dbeff9dfd37a525292c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Manybubbles <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to