projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67e86f4
)
Use cql_target()
author
Mike Taylor
<mike@indexdata.com>
Fri, 11 May 2007 13:32:57 +0000
(13:32 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 11 May 2007 13:32:57 +0000
(13:32 +0000)
web/htdocs/details/full.mc
patch
|
blob
|
history
diff --git
a/web/htdocs/details/full.mc
b/web/htdocs/details/full.mc
index
ada79e2
..
d5b1799
100644
(file)
--- a/
web/htdocs/details/full.mc
+++ b/
web/htdocs/details/full.mc
@@
-1,13
+1,11
@@
-%# $Id: full.mc,v 1.27 2007-04-27 14:04:40 mike Exp $
+%# $Id: full.mc,v 1.28 2007-05-11 13:32:57 mike Exp $
<%args>
$id
</%args>
<%perl>
my $conn = new ZOOM::Connection("localhost:8018/IR-Explain---1");
$conn->option(elementSetName => "zeerex");
-my $qid = $id;
-$qid =~ s/"/\\"/g;
-my $query = qq[rec.id="$qid"];
+my $query = cql_target($id);
my $rs = $conn->search(new ZOOM::Query::CQL($query));
my $n = $rs->size();
if ($n == 0) {