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

Also available in: Atom PDF