From: mike Date: Fri, 11 Apr 2008 14:37:42 +0000 (+0000) Subject: New X-Git-Tag: v1.5~34 X-Git-Url: http://jira.indexdata.com/?a=commitdiff_plain;h=b88815e08a4441c6fa51d6bbdd3a7e1f0f18399b;p=cql-java-moved-to-github.git New --- diff --git a/archive/mbox b/archive/mbox new file mode 100644 index 0000000..4378682 --- /dev/null +++ b/archive/mbox @@ -0,0 +1,85 @@ +From mike Fri Apr 11 12:10:27 2008 +X-VM-v5-Data: ([nil nil nil nil nil nil nil t nil] + ["1380" "Friday" "11" "April" "2008" "12:15:09" "+0200" "Marcel Versteeg" "Marcel.Versteeg@KB.nl" nil "37" "CQL parser for Java version 1.2.1" "^X-Spam-Status:" nil nil "4" nil nil nil nil nil nil nil nil nil] + nil) +Return-path: +Envelope-to: mike@indexdata.com +Delivery-date: Fri, 11 Apr 2008 13:03:37 +0200 +Received: from bagel.indexdata.dk [213.150.43.11] + by localhost.localdomain with POP3 (fetchmail-6.3.6) + for (single-drop); Fri, 11 Apr 2008 12:10:27 +0100 (BST) +Received: from spongebob.kb.nl ([192.87.31.77] helo=smtp.kb.nl) + by bagel.indexdata.dk with esmtp (Exim 4.63) + (envelope-from ) + id 1JkH2a-0000qF-Kx + for mike@indexdata.com; Fri, 11 Apr 2008 13:03:37 +0200 +X-PMWin-Spam: Gauge=IIIIIIII, Probability=8%, Report='__CTE, __MIME_VERSION, __CT, __CTYPE_HAS_BOUNDARY, __CTYPE_MULTIPART, __HAS_MSGID, __IMS_MSGID, __SANE_MSGID, HTML_NO_HTTP, BODY_SIZE_7000_7999, __ATTACHMENT_SIZE_0_10K, __MIME_HTML, __TAG_EXISTS_HTML, RDNS_NXDOMAIN, HTML_50_70, RDNS_SUSP_GENERIC, RDNS_SUSP' +X-PMWin-Version: 2.6.1, Antispam-Engine: 2.6.0, Antivirus-Engine: 2.72.0 +Importance: normal +Priority: normal +Received: from goofy.wpakb.kb.nl ([192.87.41.91]) by smtp.kb.nl with Microsoft SMTPSVC(6.0.3790.1830); Fri, 11 Apr 2008 12:15:05 +0200 +X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2663 +Content-Class: urn:content-classes:message +MIME-Version: 1.0 +Message-ID: <514EF9C9CC739747B134AED8F26EFC75010A1E19@goofy.wpakb.kb.nl> +X-MS-Has-Attach: +X-MS-TNEF-Correlator: +Thread-Topic: CQL parser for Java version 1.2.1 +thread-index: AcibvOwEqWZ6GQwqRdKEmRC4fkoT9Q== +X-OriginalArrivalTime: 11 Apr 2008 10:15:05.0606 (UTC) FILETIME=[E9A41260:01C89BBC] +X-SA-Exim-Connect-IP: 192.87.31.77 +X-SA-Exim-Rcpt-To: mike@indexdata.com +X-SA-Exim-Mail-From: Marcel.Versteeg@KB.nl +X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on + bagel.indexdata.dk +X-Spam-Level: +X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) +X-SA-Exim-Scanned: Yes (on bagel.indexdata.dk) +X-StripMime: Non-text section removed by stripmime +Content-Type: text/plain;charset="US-ASCII" +X-Spam-Status: No, score=-2.3 required=4.0 tests=BAYES_00,FORGED_RCVD_HELO, + HTML_50_60,HTML_MESSAGE autolearn=ham version=3.1.7-deb +From: "Marcel Versteeg" +To: +Cc: "Michel Koppelaar" +Subject: CQL parser for Java version 1.2.1 +Date: Fri, 11 Apr 2008 12:15:09 +0200 + +Dear Mike Taylor, + +Here at the Koninklijke Bibliotheek, the National Library of the +Netherlands, we are working on a Java implementation of the SRU version +1.2 specification. For this implementation, we use your CQL parser for +Java version 1.2.1. We use Verity as our back-end of the solution and +need to translate the CQL query to VQL to handle the requests. Upon +handling the CQLSortNode objects generated by your parser, we stumbled +upon a rather big inconvenience, which prevents us to implement sorting +in our solution. + +In order to implement sorting, we need to use the information from the +sort indexes as stored in the CQLSortNode class in the member variable +keys. Unfortunately, however, there is no getter for the sort indexes. +In order for us to make it work, I updated your source code of the +CQLSortNode to add a getter method for the member variable keys, named +getSortIndexes (inspired by the method addSortIndex of the same class). +I have attached the updated source file. + +I hope to see this getter (or another way to get the sort indexes from +the objects) in a next release of the CQL parser. For now, we will use +our own updated version of your parser. + +Sincerely, +Marcel Versteeg + + + +--- StripMime Report -- processed MIME parts --- +multipart/mixed + multipart/alternative + text/plain (text body -- kept) + text/html + application/octet-stream +--- + + +