logo       

Problem with complex queries: msg#00214

text.xml.exist

Subject: Problem with complex queries

Hi,

I have installed exist on my system and am trying out some queries with
complex predicates. Such as the following:

let $u:=/eml:eml/dataset[title[contains(.,'landuse')]],
$v:=/eml:eml/dataset[creator/individualName/surName[contains(.,'mccartne
y')]],
$w:=/eml:eml/dataset[creator/individualName/surName[contains(.,'gries')]
],
$x:=/eml:eml/dataset[title[contains(.,'maricopa')]],
$y:=$u intersect $v,
$z:=$w intersect $x,
$a:=$y union $z
return $a

Basically, I am trying out complex queries of the form (A intersect B)
union (C intersect D). I have got only 148 files in the database and the
file sizes range from 7KB to 150KB. And for the above query, I get no
results, the page goes just blank! Can you tell me why this happens? I
did read about the problems with complex predicates in the mailing list
archives, but the last message said that the problem was fixed.

Also, when I try simple queries like

let $u:=/eml:eml/dataset[title[contains(.,'landuse')]],

$v:=/eml:eml/dataset[creator/individualName/surName[contains(.,'mccartne
y')]]
return $u intersect $v

it returns correct results.

FYI-I am running it on a Pentium4 CPU with 1.4 GHz and 256MB of RAM.

Thanks,
Saritha




Saritha Bhandarkar
Research Assistant
Center for Environmental Studies
ASU-Tempe AZ
saritha.bhandarkar@xxxxxxx





-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise