From: Mike Taylor Date: Tue, 25 May 2010 14:00:57 +0000 (+0200) Subject: Generate only word-relations that are good for both v1.1 and v1.2 X-Git-Tag: v1.5~10 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=fa0e579600e88748d6345fbbd9b437abcff374c8;p=cql-java-moved-to-github.git Generate only word-relations that are good for both v1.1 and v1.2 --- diff --git a/src/main/java/org/z3950/zing/cql/CQLGenerator.java b/src/main/java/org/z3950/zing/cql/CQLGenerator.java index 416b771..cc8ac14 100644 --- a/src/main/java/org/z3950/zing/cql/CQLGenerator.java +++ b/src/main/java/org/z3950/zing/cql/CQLGenerator.java @@ -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"; }