1 $Id: Changes,v 1.11 2002-11-15 12:03:00 mike Exp $
3 Revision history for "cql-java"
4 See the bottom of this file for a list of things still to do.
6 0.3 Fri Nov 15 12:04:04 2002
7 - Allow keywords to be used unquoted as search terms.
8 - Add support for serverChoiceRelation (scr).
9 - Add support for prefix-mapping, as in
10 >dc="http://dublincore.org/ dc.title=fish
12 >"http://dublincore.org/ title=fish
13 The XCQL generated corresponds to Adam's suggested format
14 rather than Rob's, not so much because I prefer it (although
15 I do) as because it's what fell out when I just Coded What
16 Comes Natur'ly. That may need to change, depending on the
17 result of the ZNG list's deliberations.
18 - Fix the parser to normalise relation modifiers to lower case.
19 - Fix the CQLParser test harness not to emit an extraneous
20 blank line at end of XCQL output.
21 - Fix CQLNode documentation to contain a link to YAZ's
22 documentation of Prefix Query Format (PQF) rather than
23 containing a rather unhelpful chunk of BNF.
24 - Change the test/regression Makefile so that "make clean" now
25 does what "make distclean" used to do - the distinction
26 between them is pointless.
27 - Fix a few typos in the documentation.
28 - Move the README file's old "THINGS TO DO" section to the end
29 of this file, the new "Still to do" section.
31 0.2 Wed Nov 6 23:05:54 2002
32 - Fix the order of proximity parameters in accordance with the
33 updated official grammar, which now specifies proximity
35 prox/<relation>/<distance>/<unit>/<ordering>
36 as in ``foo prox/<=/3/sentence bar''.
37 - Make the necessary parts of the CQLNode class and its
38 subclasses public. This means that client code can now walk
39 through parse-trees and so implement its own back-end
40 (e.g. to build BER-friendly data structures using whatever
41 Z39.50 toolkit is preferred.)
42 - Add the toPQF(Properties p) method to CQLNode and its
43 subclasses. This produces a query in YAZ-style Prefix Query
44 Format, which can be trivially translated into a Z39.50
45 Type-1 query (see, for example, JZKit's code to do so).
46 - Add etc/pqf.properties to configure the toPQF() method.
47 - Add "-p <props-file>" option to the CQLParser test-harness,
48 indicating that the parsed tree is to be rendered to PQF.
49 - Add PQFTranslationException and its subclasses
50 UnknownQualifierException, UnknownRelationException,
51 UnknownRelationModifierException and
52 UnknownPositionException.
53 - Rename ParameterMissingException to MissingParameterException.
54 - Add javadoc comments for CQLNode and its subclasses.
56 0.1 Sun Nov 3 20:58:27 2002
57 - First public release.
62 - Fix the bug where "9x" is parsed as two tokens, a TT_NUMBER
63 followed by a TT_WORD. The problem here is that I don't
64 think it's actually possible to fix this without throwing
65 out StreakTokenizer and rolling our own, which we absolutely
67 - Describe prefix-mapping in the CQL tutorial (not really
68 anything to do with cql-java, but this note will remind me
70 - Add support for the new "phonetic" relation modifier.
71 - Write javadoc comments for CQLRelation and ModifierSet.
72 - Write "overview" file for the javadoc documentation.
73 - Some niceties for the cql-decompiling back-end:
74 * Don't emit redundant parentheses.
75 * Don't put spaces around relations that don't need them.
76 - Consider the utility of yet another back-end that translates
77 a CQLNode tree into JZKit's representation of a Type-1 query
78 tree. That would be nice so that CQL could become a JZKit
79 query-type; but you could achieve the same effect by
80 generating PQF, and running that through JZKit's existing
81 PQN-to-Type-1 compiler.
82 - Many refinements to the random query generator:
83 * Generate relation modifiers
85 * Don't always generate qualifier/relation for terms
86 * Better selection of qualifier (configurable?)
87 * Better selection of terms (from a dictionary file?)
88 * Introduce wildcard characters into generated terms
89 * Generate multi-word terms