Generate only word-relations that are good for both v1.1 and v1.2
authorMike Taylor <mike@miketaylor.org.uk>
Tue, 25 May 2010 14:00:57 +0000 (16:00 +0200)
committerMike Taylor <mike@miketaylor.org.uk>
Tue, 25 May 2010 14:00:57 +0000 (16:00 +0200)
src/main/java/org/z3950/zing/cql/CQLGenerator.java

index 416b771..cc8ac14 100644 (file)
@@ -198,7 +198,7 @@ public class CQLGenerator {
            return generate_numeric_relation();
        } else {
            switch (rnd.nextInt(3)) {
-           case 0: return "exact";
+           case 0: return "within";
            case 1: return "all";
            case 2: return "any";
            }