[Koha-bugs] [Bug 14031] Itemnumber should be a numeric search in ccl.properties

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 6 04:36:06 CEST 2015


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

--- Comment #9 from David Cook <dcook at prosentient.com.au> ---
(In reply to Fridolin SOMERS from comment #8)
> Note that using numeric search is only useful when using comparisons greater
> or lower than.

That's probably a valid point. We could probably add itemnumber to a
non-numeric index for MARC21, although then we're indexing it twice when we
could just index it once and change the CCL alias instead.

> Default search is phrase so indexing itemnumber subfield as phrase should be
> enough to allow searching : "itemnumber:9999"

I believe the default search is actually wordlist (:w), but that's true enough.
In MARC21, the biblionumber is indexed like so: "Local-Number:n Local-Number:w
Local-Number:s". So "local-number:9999" will get you the biblionumber stored in
the local-number "w" index. The ":s" is probably unnecessary as that's just for
sorting...

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


More information about the Koha-bugs mailing list