[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
Fri Oct 23 00:27:27 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11297

--- Comment #21 from David Cook <dcook at prosentient.com.au> ---
(In reply to Katrin Fischer from comment #20)
> - Last but not least: I'd really like to see a second use case where this
> feature is helpful - so not only the one server causing problems, but maybe
> another good/clever idea on how to use this feature.

It's not just about the one server. It theoretically could be any server.

http://www.loc.gov/z3950/agency/bib1.html:

"Within an attribute list, each attribute type is optional.  However, if
a particular attribute type is not supplied, this document does not
address target behavior -- a given target might supply a default
attribute, dynamically select an appropriate attribute based on the
other attributes supplied, or fail the search because it requires that
the attribute type be supplied."

At the moment, we don't have a way for users to specify Bib-1 attributes, so
some servers will fail for all Z39.50 searches. 

Without this patch (or a similar one), I think the way we do Z39.50 searches is
short-sighted. 

While Zebra will provide default attributes, it's clear that not all Z39.50
targets do. 

I don't think there are any other good/clever ideas for other ways to use this
feature. It basically lets you provide attributes that are applied to the rest
of the query. I suppose in other use cases... it lets you specify new defaults.

For instance, Zebra will default to a Structure attribute of "phrase". Maybe
you would prefer to default to a Structure attribute of "word list" instead, so
you can specify that using this patch, and there you go. 

Or maybe you want to use a "relevance relation" for all your queries to a
target, so you specify @attr 2=102.

Or maybe you don't want to truncate anything in your queries so you supply
@attr 5=100.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list