Order of boolean operators without parentheses

This space is made available to users of Open Patent Services (OPS) web-service and now also to users of EPO’s bulk data subscription products such as 14. EPO worldwide bibliographic database (DOCDB), 14.11 EPO worldwide legal status database (INPADOC), 14.12 EP full text data, 14.1 EP bibliographic data (EBD)and more.

Users can ask each other questions, exchange experiences and solutions, post ideas. The moderator will use this space to announce changes or other relevant information.
Post Reply

jc275
Posts: 8
Joined: Sun Jul 24, 2016 8:02 pm

Order of boolean operators without parentheses

Post by jc275 » Thu Sep 01, 2016 1:31 pm

The CQL specification (https://www.loc.gov/standards/sru/cql/spec.html) 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?


EPO / OPS Support
Posts: 1027
Joined: Thu Feb 22, 2007 5:32 pm

Re: Order of boolean operators without parentheses

Post by EPO / OPS Support » Fri Sep 02, 2016 10:28 am

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.

Regards,

OPS support


Post Reply