Error in CQL query with date intervall pd=
Posted: Thu Apr 09, 2015 12:08 pm
Dear OPS team,
since today 09/04/2015 it seems that the query syntax for a date interval has changed without any previuos announcement. In our software we have implemented a query in the publication date field "pd" for a date interval in the form:
This format is also explained in the documentation of the CQL query language, chapter 4.2. CQL index catalogue and in the examples.
Since today we receive the error
The only valid format for date interval seems to be now:
As we use a complex integrated syntax translator for different web pages with search forms it is not possible to implement this syntax change from one day to the next without any announcement for all our clients. Would it be possible to allow this query syntax again for a short transition time to be able to implement the other form?
Best regards,
Thomas Stiefvater
since today 09/04/2015 it seems that the query syntax for a date interval has changed without any previuos announcement. In our software we have implemented a query in the publication date field "pd" for a date interval in the form:
Code: Select all
pd="20150301 20150320"
Since today we receive the error
Code: Select all
<fault xmlns="http://ops.epo.org">
<code>CLIENT.InvalidDateFormat</code>
<message>Invalid date format "2015-03-02,2015-04-01"</message>
</fault>
Code: Select all
pd within "20150301 20150320"
Best regards,
Thomas Stiefvater