Project

General

Profile

Actions

Bug #1643

closed

Need pathexpr when search entire document

Added by Jing Tao over 20 years ago. Updated over 19 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).

Actions #1

Updated by Matt Jones over 19 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.

Actions #2

Updated by Jing Tao over 19 years ago

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

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 1643

Actions

Also available in: Atom PDF