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

Change subject: Decrease maximum query length back to 300.
......................................................................


Decrease maximum query length back to 300.

See task for more information and rationale.

Do not merge until 2015-09-04.

Bug: T107947
Change-Id: Id59ebe7ea03b81f19e4917e50464c1ac350e9af9
---
M includes/Searcher.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Smalyshev: Looks good to me, but someone else must approve
  Cindy-the-browser-test-bot: Looks good to me, but someone else must approve
  Tjones: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/Searcher.php b/includes/Searcher.php
index a95590e..158221f 100644
--- a/includes/Searcher.php
+++ b/includes/Searcher.php
@@ -59,7 +59,7 @@
        /**
         * Maximum length, in characters, allowed in queries sent to searchText.
         */
-       const MAX_TEXT_SEARCH = 2500;
+       const MAX_TEXT_SEARCH = 300;
 
        /**
         * Maximum offset depth allowed.  Too deep will cause very slow queries.

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id59ebe7ea03b81f19e4917e50464c1ac350e9af9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Deskana <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Cindy-the-browser-test-bot <[email protected]>
Gerrit-Reviewer: DCausse <[email protected]>
Gerrit-Reviewer: Deskana <[email protected]>
Gerrit-Reviewer: Manybubbles <[email protected]>
Gerrit-Reviewer: Smalyshev <[email protected]>
Gerrit-Reviewer: Tjones <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to