BooleanQuery JSON structure is invalid

Description

The output JSON when building a BooleanQuery is invalid for a number of reasons:

  • 'must', 'must_not' and 'should' should be a query object with a conjuncts/disjunct property that contains an array of sub-queries

  • conjuncts & disjuncts sub-queries should not be wrapped in an object with an additional "query" property

  • field and analyzer should be omitted if null

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created November 2, 2016 at 1:25 PM
Updated November 14, 2016 at 5:03 PM
Resolved November 14, 2016 at 5:03 PM
Instabug