Bug #2385
openQuerying with OR Conditions to DiGIR node for darwincore data
0%
Description
If I query the DiGIR node with the following condition I get records back:
<condition operator="LIKE" concept="ScientificName">trout</condition>
But if I try the following OR statement, I don't get any records back:
<OR>
<condition operator="LIKE" concept="Kingdom">trout</condition>
<condition operator="LIKE" concept="Phylum">trout</condition>
<condition operator="LIKE" concept="Class">trout</condition>
<condition operator="LIKE" concept="Order">trout</condition>
<condition operator="LIKE" concept="Genus">trout</condition>
<condition operator="LIKE" concept="SpecificEpithet">trout</condition>
<condition operator="LIKE" concept="InfraspecificEpithet">trout</condition>
<condition operator="LIKE" concept="ScientificName">trout</condition>
<condition operator="LIKE" concept="HigherTaxon">trout</condition>
</OR>
Updated by Jing Tao over 18 years ago
I tested more search in kepler against Digir. Here is the results:
If query =<condition operator="LIKE" concept="ScientificName">trout</condition>
The result set has 4 records.
If query=<OR>
<condition operator="LIKE" concept="ScientificName">trout</condition>
<condition operator="LIKE" concept="Kingdom">trout</condition>
</OR>
The result set has 3 records.
If query=<OR>
<condition operator="LIKE" concept="ScientificName">trout</condition>
<condition operator="LIKE" concept="Kingdom">trout</condition>
<condition operator="LIKE" concept="Phylum">trout</condition>
</OR>
The result set has 2 records.
if If query=<OR>
<condition operator="LIKE" concept="ScientificName">trout</condition>
<condition operator="LIKE" concept="Kingdom">trout</condition>
<condition operator="LIKE" concept="Phylum">trout</condition>
<condition operator="LIKE" concept="Class">trout</condition>
</OR>
The result set has 3 records.