Project

General

Profile

Bug #1643

Need pathexpr when search entire document

Added by Jing Tao about 15 years ago. Updated about 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
ecogrid
Target version:
Start date:
07/23/2004
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1643

Description

In Metacat, if a user try to search a value in entire document rather than a
sepecific path, in path query the user should remove pathexpr( pathexpr is
optional element).
So like this way:
querygroup operator="UNION">
<queryterm searchmode="contains" casesensitive="false">
<value>soil</value>
</queryterm>
</querygroup>

This quey will search any path which's value matches "soil" in document.

But in our ecogrid query, concept element which is equevalent to pathexpr is
required.
So if a ecogrid query try to search a entire document, it should have a
concept(e.g., "/" ). But Metacat couldn't undstand it now.

So probably we can make metacat understand "/"( the root element) as pathexpr
means search entire document. Also we still need to keep the feature that if no
pathexpr in query, metacat will search entire document too(This feature morpho
need it).

History

#1 Updated by Matt Jones about 14 years ago

I don't think we should change metacat, but rather change our ecogrid wrapper.
When EcoGrid translates its query, check if the path is "/" and if it is then
omit the pathexpr altogether. I'm going to move this bug to be a SEEK Ecogrid
bug instead of a metacat bug.

#2 Updated by Jing Tao about 14 years ago

The bug was fixed as the approach which matt descripted in his comment.

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 1643

Also available in: Atom PDF