[Koha] Excluding fields from the OPAC search
Michael Kuhn
mik at adminkuhn.ch
Wed Oct 13 21:56:15 NZDT 2021
Hi Katrin
On 6 October you wrote:
> unfortunately the problem is a bit more complicated. :(
>
> I think since our switch from grs-1 to dom indexing, the kw index
> includes the whole record, where before that switch it was 'everything
> that is indexed'. So changing the configuration of individual
> fields/indexes won't make a difference. See:
>
> *Bug 15050*
> <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15050> -
> Nonpublic note searchable from OPAC
>
> I am not sure if this is solved already with Elasticsearch.
>
> Some things you could do to avoid issues is linking 952$e to a vendor
> record using the id. I've been thinking it would be nice if we had a
> value builder to do this for a while. If you add items from
> acquisition it will also fill source of acquisition with the id, so
> that would make things more consistent.
In our case we are not using the Koha acquisition, so the vendor name is
not automatically filled, but manually.
If the vendor name is Smith a keyword search for "Smith" will not only
find authors, subjects etc with the string "Smith" but also vendors -
this is not desired since it often tampers the search result
considerably. To avoid this as a workaround we have now (via SQL) added
the leading string "xx" for every vendor name (e. g. "xxSmith") and have
reindexed the Koha instance.
Now a search for just "Smith" will no more find the vendor names. If we
want to search for a certain vendor name we will just search for e. g.
"xxSmith".
> For internal notes I think a good rule of thumb would be to avoid
> using personal names whenever possible. For some use cases internally
> agreed on codes or the cardnumber might work. Having a separate
> feature for adding notes that don't end up in the MARC records (and
> possible exports, OAI etc.) might be a good idea anyway.
This is good advice! And yes, we would also like a separate feature for
adding notes that don't end up in the MARC records.
Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch · W www.adminkuhn.ch
More information about the Koha
mailing list