[Koha-bugs] [Bug 12872] Exclude some fields from Zebra indexing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 22 16:02:00 CEST 2014


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

--- Comment #14 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Paola Rossi from comment #13)
> I've applied against master 3.17.00.027
> 
> Two patches need trivial rebasing.
> 
> I pass the patch to "Patch doesn't apply" status.
> 
> ------------------------------------
> Some problems about "any" index (searching by keyword index).
> 
> For example if the subfields 999c/999d exists in a record.
> In intranet, if I searched the biblionumber (=value of the number in the 2
> subfields) by keyword index (on advanced search) or entering search keywords
> on  the simple search, I found that record even if the "ZebraExclude"
> syspref has been set to 999.
> I found that record by sn index too, even if the "ZebraExclude" syspref has
> been set to 999.
> ------------------------------------

Thanks for testing!
The thing that you mentio about field 999 is by design. Please have a look at
sub load_zebra_exclude. It uses GetMarcFromKohaField to get the tag that Koha
uses to store biblionumber and biblioitemnumber. If that is indeed 999 (as it
is by default), this tag will not be excluded since Zebra needs that
information somewhere.
I would not recommend to use the same tag where we internally store
biblionumber for other data. So I did not see this as a problem.
Could you retry with another field? Do not forget to reindex.
Will rebase the last patch.

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


More information about the Koha-bugs mailing list