Deskana has uploaded a new change for review.
https://gerrit.wikimedia.org/r/235140
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch
refs/changes/40/235140/1
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: newchange
Gerrit-Change-Id: Id59ebe7ea03b81f19e4917e50464c1ac350e9af9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Deskana <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits