Page 1 of 1

Order of boolean operators without parentheses

Posted: Thu Sep 01, 2016 1:31 pm
by jc275
The CQL specification ( states that boolean operators are evaluated left-to-right. This means that a search for plastic and bicycle or seat without parentheses should return results for the query (plastic and bicycle) or seat.

Instead, the actual results are returned based on the query plastic and (bicycle or seat), according to the <ops:query> tag.

In the CQL specification, a similar example with parentheses on the right (section 7, example 2) is provided not to show the default behaviour, but rather to illustrate how parentheses can be used to override the default behaviour.

Is compliance with the CQL specification anticipated?

Re: Order of boolean operators without parentheses

Posted: Fri Sep 02, 2016 10:28 am
by EPO / OPS Support
Dear user,

Thank you very much for your really valuable feedback.

Our technical team has already made changes in accordance with the CQL specification for our next OPS version release (v 3.2) that we will be announcing as a BETA version in the next few weeks. Please follow our Announcement section - OPS Forum where we announce maintenance and other release information for the date of BETA start.


OPS support