BooleanQuery JSON structure is invalid
Description
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
Details
Assignee
mike_goldsmith
mike_goldsmithReporter
mike_goldsmith
mike_goldsmithAffects versions
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty Incident
PagerDuty

PagerDuty Incident
Sentry
Linked Issues
Sentry
Linked Issues
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
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
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