Project

General

Profile

« Previous | Next » 

Revision 179

Added by Matt Jones about 24 years ago

fixed QuerySpecification to produce SQL that does UNION or INTERSECT set operations for query group combinations

View differences:

test-query.xml
6 6
  <querytitle>Test query</querytitle>
7 7
  <returndoctype>-//NCEAS//eml-dataset//EN</returndoctype>
8 8
  <returndoctype>-//NCEAS//eml-file//EN</returndoctype>
9
  <querygroup booleantype="AND">
9
  <querygroup operator="INTERSECT">
10 10
    <queryterm casesensitive="false" searchmode="contains">
11
      <value>Value</value>
12
      <pathexpr>testroot/a/b</pathexpr>
11
      <value>NCEAS</value>
12
      <pathexpr>meta_file_id</pathexpr>
13 13
    </queryterm>
14
    <queryterm casesensitive="true" searchmode="contains">
15
      <value>Insights</value>
16
    </queryterm>
14 17
  </querygroup>
15 18
</pathquery>

Also available in: Unified diff