pz:limitmap now in use
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 9 Sep 2011 13:01:39 +0000 (15:01 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 9 Sep 2011 13:01:39 +0000 (15:01 +0200)
commitaeb802e28a6a6450e1bafd95efa828c0165411a4
treee2a98fbb61565dd50310bbe71db024008bf6b7cf
parent9ac9ee0172c5440d7dab879756893d943e313143
pz:limitmap now in use

pz:limitmap[name] is used as query translation when applying
limit parameter for search. Previously, pz:facetmap was used.
pz:limitmap[name] can have one of two forms (types). The leading
type is followed immedately by colon then by form specific name.
For type "ccl:" the value is an existing cclmap.  Example:
limitmap[author]="ccl:au", which could work for many existing Z39.50
targets. For type "rpn:" the value is PQF verbatim. Example:
limitmap[author]="rpn:@attr 1=1003 @attr 6=3" (author, complete field).
13 files changed:
src/client.c
src/session.c
src/session.h
src/settings.c
src/settings.h
test/test_http.urls
test/test_http_58.res [new file with mode: 0644]
test/test_http_59.res [new file with mode: 0644]
test/test_http_60.res [new file with mode: 0644]
test/test_http_61.res [new file with mode: 0644]
test/test_http_62.res [new file with mode: 0644]
test/test_http_63.res [new file with mode: 0644]
test/z3950_indexdata_com_marc.xml