Page MenuHomePhabricator

Query failure with OR and *
Open, LowPublic

Description

Elasticsearch bails out thinking this is a bad query, I don't understand why though. The error from es is:

parse_exception: Encountered " <OR> "OR "" at line 1, column 1.

Fails:

  • "foo*" OR "bar"

Works:

  • foo* OR "bar"
  • "bar" OR "foo*"

Event Timeline

Restricted Application added projects: Discovery, Discovery-Search. · View Herald TranscriptJun 20 2016, 8:20 PM
Restricted Application added subscribers: Zppix, Aklapper. · View Herald Transcript
debt triaged this task as Low priority.Jul 28 2016, 10:25 PM
debt moved this task from needs triage to later on... on the Discovery-Search board.
debt added a subscriber: debt.

maybe we can look at this when we look at the parser.