Page MenuHomePhabricator

Parse errors with ORs in query
Closed, DuplicatePublicPRODUCTION ERROR

Description

As seen in prod and in parent task:

Warning: Search backend error during full_text search
 for '"nicht antretbar*" OR "nicht antreten*" OR "nicht erstattbar*" OR "nicht erstatten*" OR "nicht erstattet*" OR "nicht stornierbar*" OR "nicht stornieren*" OR "nicht storniert*"' after 33.
  Parse error on ' or   OR   OR   OR   OR   OR   or ': Encountered " <OR> "OR "" at line 1, column 11.
[Called from CirrusSearch\ElasticsearchIntermediary::failure in /srv/mediawiki/php-1.25wmf23/extensions/CirrusSearch/includes/ElasticsearchIntermediary.php at line 98] in /srv/mediawiki/php-1.25wmf23/includes/debug/MWDebug.php on line 300

Many other similar examples can be pulled from hhvm.log

Event Timeline

• demon raised the priority of this task from to High.
• demon updated the task description. (Show Details)

This is not fixed yet.

These parse errors still occur, but they have been shunted off into the CirrusSearch log rather than the main hhvm.log.

I'm not sure how we can actually fix this without replacing the entire query parser.

• Deskana lowered the priority of this task from High to Low.Nov 24 2015, 6:18 PM
• Deskana subscribed.

Lowering priority to reflect the reality of the team's prioritisation.

• mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:12 PM