DCausse has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/305636

Change subject: [WIP] Disable DFS and lower shard count for browser tests
......................................................................

[WIP] Disable DFS and lower shard count for browser tests

Relevancytest test is failing again.
I'm not entirely sure to understand and it's quite hard to debug because
the lucene explanation is not run with DFS and actual scores are not the
same than those displayed in the explain section.
I suppose that the scores may vary depending on shard distribution and that is
what DFS is supposed to fix but apprently something is missed with DFS
otherwize scores could not change with the same set of docs.
Another explanation would be that we generate random content that could affect
document statistics (size or freqs).
Anyways this patch is just to see how cindy will react if I disable DFS and
lower shard count to 2.
Unfortunately I'm not sure I'll be able to make this tests work consistently
with BM25 and the documents in this suite...

Change-Id: Ifdc62aa3c71c894a5689476091ed4f29ea2b7439
---
M tests/jenkins/FullyFeaturedConfig.php
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch 
refs/changes/36/305636/1

diff --git a/tests/jenkins/FullyFeaturedConfig.php 
b/tests/jenkins/FullyFeaturedConfig.php
index 22b7eab..889688e 100644
--- a/tests/jenkins/FullyFeaturedConfig.php
+++ b/tests/jenkins/FullyFeaturedConfig.php
@@ -32,6 +32,9 @@
 $wgCirrusSearchWikimediaExtraPlugin[ 'super_detect_noop' ] = true;
 $wgCirrusSearchWikimediaExtraPlugin[ 'id_hash_mod_filter' ] = true;
 
+$wgCirrusSearchShardCount = array( 'content' => 2, 'general' => 2, 
'titlesuggest' => 2 );
+$wgCirrusSearchMoreAccurateScoringMode = false;
+
 $wgCirrusSearchUseCompletionSuggester = 'yes';
 
 $wgCirrusSearchPhraseSuggestReverseField = array(

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifdc62aa3c71c894a5689476091ed4f29ea2b7439
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: DCausse <dcau...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to