v1.1 XCQL for proximity modifiers
authormike <mike>
Fri, 29 Jun 2007 11:47:44 +0000 (11:47 +0000)
committermike <mike>
Fri, 29 Jun 2007 11:47:44 +0000 (11:47 +0000)
test/regression/sections/05/02.xcql
test/regression/sections/05/03.xcql
test/regression/sections/05/04.xcql
test/regression/sections/05/05.xcql
test/regression/sections/05/06.xcql

index 3e07a64..fced1cc 100644 (file)
@@ -2,10 +2,19 @@
   <boolean>
     <value>prox</value>
     <modifiers>
-      <modifier><type>relation</type><value>=</value></modifier>
-      <modifier><type>distance</type><value>3</value></modifier>
-      <modifier><type>unit</type><value>word</value></modifier>
-      <modifier><type>ordering</type><value>ordered</value></modifier>
+      <modifier>
+        <type>distance</type>
+        <comparison>=</comparison>
+        <value>3</value>
+      </modifier>
+      <modifier>
+        <type>unit</type>
+        <comparison>=</comparison>
+        <value>word</value>
+      </modifier>
+      <modifier>
+        <type>ordered</type>
+      </modifier>
     </modifiers>
   </boolean>
   <leftOperand>
index 28131ea..98cd944 100644 (file)
@@ -2,7 +2,11 @@
   <boolean>
     <value>prox</value>
     <modifiers>
-      <modifier><type>distance</type><value>3</value></modifier>
+      <modifier>
+        <type>distance</type>
+        <comparison>&lt;</comparison>
+        <value>3</value>
+      </modifier>
     </modifiers>
   </boolean>
   <leftOperand>
index b083474..024fad4 100644 (file)
@@ -2,7 +2,11 @@
   <boolean>
     <value>prox</value>
     <modifiers>
-      <modifier><type>unit</type><value>sentence</value></modifier>
+      <modifier>
+        <type>unit</type>
+        <comparison>=</comparison>
+        <value>sentence</value>
+      </modifier>
     </modifiers>
   </boolean>
   <leftOperand>
index 2307ceb..f630a95 100644 (file)
@@ -2,8 +2,11 @@
   <boolean>
     <value>prox</value>
     <modifiers>
-      <modifier><type>relation</type><value>&gt;=</value></modifier>
-      <modifier><type>distance</type><value>5</value></modifier>
+      <modifier>
+        <type>distance</type>
+        <comparison>&lt;=</comparison>
+        <value>5</value>
+      </modifier>
     </modifiers>
   </boolean>
   <leftOperand>
index 4763259..42029b0 100644 (file)
@@ -2,9 +2,16 @@
   <boolean>
     <value>prox</value>
     <modifiers>
-      <modifier><type>relation</type><value>&lt;</value></modifier>
-      <modifier><type>distance</type><value>5</value></modifier>
-      <modifier><type>unit</type><value>element</value></modifier>
+      <modifier>
+        <type>distance</type>
+        <comparison>&gt;</comparison>
+        <value>5</value>
+      </modifier>
+      <modifier>
+        <type>unit</type>
+        <comparison>=</comparison>
+        <value>element</value>
+      </modifier>
     </modifiers>
   </boolean>
   <leftOperand>