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

Change subject: Temporarily increase maximum search query length to 2500.
......................................................................


Temporarily increase maximum search query length to 2500.

See T107947 for rationale.

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

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



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

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7b8fdbc4740f166042ca8ce4b92c84cfc62c30ea
Gerrit-PatchSet: 2
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: EBernhardson <[email protected]>
Gerrit-Reviewer: Manybubbles <[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