DCausse has uploaded a new change for review.
https://gerrit.wikimedia.org/r/286426
Change subject: Fix relevancy_api test with/without boostlinks
......................................................................
Fix relevancy_api test with/without boostlinks
Computed norms were the same for both articles. By disabling boostLinks scores
for these docs are exactly the same. By adding 2 words to Relevancylinktest
Larger Extraword we decrease the all.plain norm to 0.109375 (instead of 0.125).
Bug: T133756
Change-Id: If340a097da1c6ed3bef6e024e8b3d147b56c8a7b
---
M tests/browser/features/relevancy_api.feature
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch
refs/changes/26/286426/1
diff --git a/tests/browser/features/relevancy_api.feature
b/tests/browser/features/relevancy_api.feature
index 4830e13..4db98fc 100644
--- a/tests/browser/features/relevancy_api.feature
+++ b/tests/browser/features/relevancy_api.feature
@@ -64,7 +64,7 @@
Scenario: Incoming links count in page weight
Given a page named Relevancylinktest Smaller exists
- And a page named Relevancylinktest Larger Extraword exists
+ And a page named Relevancylinktest Larger Extraword exists with contents
for lenghtnorm
And a page named Relevancylinktest Larger/Link A exists with contents
[[Relevancylinktest Larger Extraword]]
And a page named Relevancylinktest Larger/Link B exists with contents
[[Relevancylinktest Larger Extraword]]
And a page named Relevancylinktest Larger/Link C exists with contents
[[Relevancylinktest Larger Extraword]]
--
To view, visit https://gerrit.wikimedia.org/r/286426
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If340a097da1c6ed3bef6e024e8b3d147b56c8a7b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: es2.x
Gerrit-Owner: DCausse <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits