[Koha-bugs] [Bug 17511] Change authority linking subfield from $9 to $0

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 7 23:46:44 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17511

--- Comment #30 from David Cook <dcook at prosentient.com.au> ---
(In reply to Johanna Räisä from comment #28)
> Have to think how the URI would work with indexing.

I have been thinking about the same thing. 

At a glance, with Zebra we're using Koha-Auth-Number with a "w" register, which
is fine for integers, but that probably won't work very well with URIs, since
it's for storing "words". It's normalized and tokenized. That will lead to
problematic indexing.

We could use a "p" register which is normalized and not tokenized but it's
possible for 2 different URIs to be normalized into the same data, so that's
not ideal either.

Perhaps we should use a "0" register which is not normalized and not tokenized.
To use that we'd need to use the 4=3 structure attribute and I don't think we'd
be using it as the Bib-1 spec says it should be used
(https://www.loc.gov/z3950/agency/bib1.html), but I think it would work with
Zebra. I'd have to try it out though.

Technically, the is a special "u" register for URLs, but we also need to
optionally store integers, so that won't work either. 

I don't use Elasticsearch, so I can't speak to it.

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


More information about the Koha-bugs mailing list