projects
/
yaz-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:
ca09c78
)
Recognise the "always" configuration element.
author
Mike Taylor
<mike@indexdata.com>
Fri, 10 Mar 2006 17:18:09 +0000
(17:18 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 10 Mar 2006 17:18:09 +0000
(17:18 +0000)
NEWS
patch
|
blob
|
history
src/cqltransform.c
patch
|
blob
|
history
diff --git
a/NEWS
b/NEWS
index
1742c1b
..
9a78435
100644
(file)
--- a/
NEWS
+++ b/
NEWS
@@
-5,6
+5,11
@@
defaults. So now a combination of mapping specifications such as:
index.dc.date = 1=date-modified 4=5
does the right thing.
index.dc.date = 1=date-modified 4=5
does the right thing.
+cql_transform() now also respects the "always" mapping specification,
+which establishes an initial set of attributes to be used for all
+terms except where overridden by more specific attributes associated
+with the index, relation or modifier.
+
Added SRU-GET and SRU-POST support for ZOOM C. Option "sru" specifies
which mode to use; one of "post", "get" or "soap" (SRW, default).
Added SRU-GET and SRU-POST support for ZOOM C. Option "sru" specifies
which mode to use; one of "post", "get" or "soap" (SRW, default).
diff --git
a/src/cqltransform.c
b/src/cqltransform.c
index
69630e4
..
9b2e18d
100644
(file)
--- a/
src/cqltransform.c
+++ b/
src/cqltransform.c
@@
-1,4
+1,4
@@
-/* $Id: cqltransform.c,v 1.19 2006-03-10 14:43:13 mike Exp $
+/* $Id: cqltransform.c,v 1.20 2006-03-10 17:18:09 mike Exp $
Copyright (C) 1995-2005, Index Data ApS
Index Data Aps
Copyright (C) 1995-2005, Index Data ApS
Index Data Aps
@@
-399,6
+399,7
@@
void cql_transform_r(cql_transform_t ct,
ct->addinfo = 0;
}
}
ct->addinfo = 0;
}
}
+ cql_pr_attr(ct, "always", 0, 0, pr, client_data, 0);
if (cn->u.st.relation && !cql_strcmp(cn->u.st.relation, "="))
cql_pr_attr(ct, "relation", "eq", "scr",
pr, client_data, 19);
if (cn->u.st.relation && !cql_strcmp(cn->u.st.relation, "="))
cql_pr_attr(ct, "relation", "eq", "scr",
pr, client_data, 19);