[Koha] Batch modification: Possibility to copy subfield content to another field's fixed positions?

Stowasser Rainer rainer.stowasser at zamg.ac.at
Sat Feb 19 01:03:40 NZDT 2022


Dear Anke

same answer ;-)

but a little more work

https://wiki.koha-community.org/wiki/Understanding_Zebra_indexing

Kind regards

Hofrat Mag. Rainer Stowasser
Head of Library and Archives ZAMG

Am 18.02.2022 um 12:34 schrieb Bruns, Anke <Anke.Bruns at gwdg.de<mailto:Anke.Bruns at gwdg.de>>:

Hi,

thanks! However, alas, we are on Zebra.

Good luck with your solution!

Regards,
Anke




-----Ursprüngliche Nachricht-----
Von: Koha <koha-bounces at lists.katipo.co.nz<mailto:koha-bounces at lists.katipo.co.nz>> Im Auftrag von Thomas Klausner
Gesendet: Freitag, 18. Februar 2022 12:31
An: koha at lists.katipo.co.nz<mailto:koha at lists.katipo.co.nz>
Betreff: Re: [Koha] Batch modification: Possibility to copy subfield content to
another field's fixed positions?

Hi!

On Fri, Feb 18, 2022 at 11:12:22AM +0000, Bruns, Anke wrote:

in order to be able to use the search index for publication year, the year
must to my knowledge be mentioned in 008, positions 7-10.
Is there a way to populate this with the content from 264$c which, in my
case, is always a yyyy? In the templates for batch operations I can only
find ways to copy into fields with subfields, not into fixed fields.

If you're using ElasticSearch, you could change the Elasticsearch
mappings to use 264$c for date-of-publication (instead of the default
008_/7-10). Though I haven't tested that yet, but we've just had a
meeting where we decided to try it this way... :-)

Not really an answer to your question, but if you're only asking the
question to get the data searchable, it should be still usable.

Greetings,
domm

--
#!/usr/bin/perl                             https://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
_______________________________________________

Koha mailing list  http://koha-community.org
Koha at lists.katipo.co.nz<mailto:Koha at lists.katipo.co.nz>
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________

Koha mailing list  http://koha-community.org<http://koha-community.org/>
Koha at lists.katipo.co.nz<mailto:Koha at lists.katipo.co.nz>
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
EXTERNAL EMAIL: Do not click any links or open any attachments unless you trust the sender and know the content is safe.



More information about the Koha mailing list