[Koha-bugs] [Bug 11297] Add support for custom PQF attributes for Z39.50 server searches.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Feb 17 22:22:44 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11297
--- Comment #4 from Frédérick Capovilla <fcapovilla at live.ca> ---
Unfortunately, I cannot provide a use-case you could reproduce because we
encountered our search problems on a private server requiring a subscription
with a username and a password.
In our case, the BANQ server would not return results if we did not specify a
value for "@attr 4".
With this patch, we can set default PQF attributes for a all searches on this
Z39.50 server without affecting search results on other Z39.50 servers. This is
useful if we want to do a single Z39.50 search on multiple servers at the same
time, each with their own supported or required attributes.
For example, specifying "@attr 4=1" on server 1 will not cause an error on
server 2 if this one doesn't support "@attr 4" attributes.
--
Finally, what you are describing affects "Use" (@attr1) attributes. The main
use of this patch is to set the other attributes which won't change depending
of the used search terms.
However, the same methods could be used to implement a "mapping table". This
patch changes the PQF query generation technique to use an Array instead of a
String, so each part of the query can easily be overwritten to fit each
server's requirements.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list