Project

General

Profile

Actions

Bug #3137

closed

The query example in metacatquery.html document need to be changed

Added by Jing Tao almost 17 years ago. Updated over 16 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
02/06/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3137

Description

Here is the example in that page:

The Pathquery Document

<pathquery version="1.0">
<meta_file_id>unspecified</meta_file_id>
<querytitle>unspecified</querytitle>
<returnfield>resource/dataset/originator/individualName/surName</returnfield>
<returnfield>resource/dataset/originator/individualName/givenName</returnfield>
<returnfield>resource/dataset/keywordInfo/keyword</returnfield>
<returndoctype></returndoctype>
<querygroup operator="UNION">
<queryterm casesensitive="false" searchmode="contains">
<value>%</value>
</queryterm>
<queryterm casesensitive="false" searchmode="contains">
<value>-//NCEAS//resource//EN</value>
<pathexpr>returndoc</pathexpr>
</queryterm>
<queryterm casesensitive="false" searchmode="contains">
<value>-//NCEAS//eml-dataset//EN</value>
<pathexpr>returndoc</pathexpr>
</queryterm>
</querygroup>
</pathquery>

This query make no sense to user. We need another one which query eml documents.

Actions

Also available in: Atom PDF