Update CQL parser to use CQL 1.1 modifiers for booleans and
[yaz-moved-to-github.git] / test / cql / 5.6.out
diff --git a/test/cql/5.6.out b/test/cql/5.6.out
new file mode 100644 (file)
index 0000000..20a88e9
--- /dev/null
@@ -0,0 +1,35 @@
+<triple>
+  <boolean>
+    <value>prox</value>
+    <modifiers>
+      <modifier>
+        <type>unit</type>
+        <relation>=</relation>
+        <value>element</value>
+      </modifier>
+      <modifier>
+        <type>distance</type>
+        <relation>&gt;</relation>
+        <value>5</value>
+      </modifier>
+    </modifiers>
+  </boolean>
+  <leftOperand>
+    <searchClause>
+      <index>dc.author</index>
+      <relation>
+        <value>exact</value>
+      </relation>
+      <term>jones</term>
+    </searchClause>
+  </leftOperand>
+  <rightOperand>
+    <searchClause>
+      <index>title</index>
+      <relation>
+        <value>&gt;=</value>
+      </relation>
+      <term>smith</term>
+    </searchClause>
+  </rightOperand>
+</triple>