Bug #2385
open
Querying with OR Conditions to DiGIR node for darwincore data
Added by David Sledge over 18 years ago.
Updated almost 17 years ago.
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>
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.
Original Bugzilla ID was 2385
Also available in: Atom
PDF