[Koha-bugs] [Bug 8962] Create a new index for OPAC simple search, more specific than "any"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 19 07:07:56 CEST 2014


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

--- Comment #38 from David Cook <dcook at prosentient.com.au> ---
Comment on attachment 25675
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25675
Bug 8962: Marc21 biblios (DOM)

Review of attachment 25675:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=8962&attachment=25675)
-----------------------------------------------------------------

This looks really good at a glance. I'll have to test this one sometime in the
future.

I think some of the choices for the new "any" index might be a bit arbitrary,
but we can fine tune that over time (or people can customize it as needed).

I noticed some Notes fields have been added as well...I assume this is just to
bring DOM in line with GRS-1?

::: etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml
@@ +874,5 @@
>      <target_index>Subject:w</target_index>
>      <target_index>Subject:p</target_index>
> +    <target_index>any:w</target_index>
> +    <target_index>any:p</target_index>
> +    <target_index>any:w</target_index>

Looks like you accidentally doubled-up here.

@@ +1605,5 @@
>      <target_index>Local-classification:p</target_index>
>      <target_index>Local-classification:s</target_index>
> +    <target_index>any:w</target_index>
> +    <target_index>any:p</target_index>
> +    <target_index>any:s</target_index>

I actually don't think that we need to use the 'sort' register here, since we
don't sort on the "any" index.

We need Local-classification:s, because we have 'Call number' sort on the OPAC,
but that's the only reason. Probably safe to nix it here.

That said, no harm done by including it. It's probably just redundant.

http://www.indexdata.com/zebra/doc/administration-ranking.html

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


More information about the Koha-bugs mailing list