Project

General

Profile

Actions

Bug #2385

open

Querying with OR Conditions to DiGIR node for darwincore data

Added by David Sledge almost 19 years ago. Updated almost 17 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
ecogrid
Target version:
Start date:
03/20/2006
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2385

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>

Actions #1

Updated by Jing Tao almost 19 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.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 2385

Actions

Also available in: Atom PDF