Page MenuHomePhabricator

Parse error on searches starting with an asterisk
Closed, ResolvedPublic

Description

Mar 13 21:26:43 10.64.0.210 apache2[11040]: PHP Warning: Search backend error during full_text search for '*dd*' after 19. Parse error on '(title.plain:\*dd*^20 OR heading.plain:\*dd*^5 OR text.plain:\*dd*^1 OR file_text.plain:\*dd*^0.8)': '*' not allowed as first character in PrefixQuery]; nested: ParseException['*' not allowed as first character in PrefixQuery]; }{[PHyqMLhVRcCNQyCpFYIrXw][wikidatawiki_content_1392158273][3]: RemoteTransportException[[elastic1016][inet[/10.64.48.13:9300]][search/phase/dfs]]; nested: SearchParseException[[wikidatawiki_content_1392158273][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"fields":["id","title","namespace","timestamp","text_bytes","text.word_count"],"script_fields":{"redirect":{"script":"_source[ \"redirect\" ]"}},"query":{"filtered":{"query":{"bool":{"minimum_number_should_match":1,"should":[{"query_string":{"query":"(title.plain:\\*dd*^20 OR heading.plain:\\*dd*^5 OR text.plain:\\*dd*^1 OR file_text.plain:\\*dd*^0.8)","fields":["title.plain^20","heading.plain^5","text.plain^1","file_text.plain^0.8","t in /usr/local/apache/common-local/php-1.23wmf17/includes/debug/Debug.php on line 303
Mar 13 21:27:22 10.64.16.116 apache2[19278]: PHP Warning: Search backend error during full_text search for '*dd*' after 22. Parse error on '(title.plain:\*dd*^20 OR heading.plain:\*dd*^5 OR text.plain:\*dd*^1 OR file_text.plain:\*dd*^0.8)': '*' not allowed as first character in PrefixQuery]; nested: ParseException['*' not allowed as first character in PrefixQuery]; }{[PHyqMLhVRcCNQyCpFYIrXw][wikidatawiki_content_1392158273][3]: RemoteTransportException[[elastic1016][inet[/10.64.48.13:9300]][search/phase/dfs]]; nested: SearchParseException[[wikidatawiki_content_1392158273][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"fields":["id","title","namespace","timestamp","text_bytes","text.word_count"],"script_fields":{"redirect":{"script":"_source[ \"redirect\" ]"}},"query":{"filtered":{"query":{"bool":{"minimum_number_should_match":1,"should":[{"query_string":{"query":"(title.plain:\\*dd*^20 OR heading.plain:\\*dd*^5 OR text.plain:\\*dd*^1 OR file_text.plain:\\*dd*^0.8)","fields":["title.plain^20","heading.plain^5","text.plain^1","file_text.plain^0.8","t in /usr/local/apache/common-local/php-1.23wmf17/includes/debug/Debug.php on line 303
Mar 13 21:28:00 10.64.32.70 apache2[7209]: PHP Warning: Search backend error during full_text search for '*dd*' after 54. Parse error on '(title.plain:\*dd*^20 OR heading.plain:\*dd*^5 OR text.plain:\*dd*^1 OR file_text.plain:\*dd*^0.8)': '*' not allowed as first character in PrefixQuery]; nested: ParseException['*' not allowed as first character in PrefixQuery]; }{[yCgLhT24RpusdiNRztQ3JA][wikidatawiki_content_1392158273][3]: RemoteTransportException[[elastic1002][inet[/10.64.0.109:9300]][search/phase/dfs]]; nested: SearchParseException[[wikidatawiki_content_1392158273][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"fields":["id","title","namespace","timestamp","text_bytes","text.word_count"],"script_fields":{"redirect":{"script":"_source[ \"redirect\" ]"}},"query":{"filtered":{"query":{"bool":{"minimum_number_should_match":1,"should":[{"query_string":{"query":"(title.plain:\\*dd*^20 OR heading.plain:\\*dd*^5 OR text.plain:\\*dd*^1 OR file_text.plain:\\*dd*^0.8)","fields":["title.plain^20","heading.plain^5","text.plain^1","file_text.plain^0.8","t in /usr/local/apache/common-local/php-1.23wmf17/includes/debug/Debug.php on line 303


Version: unspecified
Severity: major

Details

Reference
bz62626