Bugzilla – Attachment 132816 Details for
Bug 20424
New UNIMARC ZEBRA indexes according to last IFLA updates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20424: Add new zebra indexes for the last IFLA updates
Bug-20424-Add-new-zebra-indexes-for-the-last-IFLA-.patch (text/plain), 7.54 KB, created by
Alex Arnaud
on 2022-04-01 07:26:50 UTC
(
hide
)
Description:
Bug 20424: Add new zebra indexes for the last IFLA updates
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2022-04-01 07:26:50 UTC
Size:
7.54 KB
patch
obsolete
>From c3223856cd201c0a42a6b268092c6ab391745f12 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Wed, 31 Mar 2021 11:25:24 +0200 >Subject: [PATCH] Bug 20424: Add new zebra indexes for the last IFLA updates > >--- > etc/zebradb/biblios/etc/bib1.att | 6 ++ > etc/zebradb/ccl.properties | 10 +++ > .../unimarc/biblios/biblio-koha-indexdefs.xml | 93 +++++++++++++++++++--- > 3 files changed, 100 insertions(+), 9 deletions(-) > >diff --git a/etc/zebradb/biblios/etc/bib1.att b/etc/zebradb/biblios/etc/bib1.att >index d14d617..d026b6c 100644 >--- a/etc/zebradb/biblios/etc/bib1.att >+++ b/etc/zebradb/biblios/etc/bib1.att >@@ -206,6 +206,11 @@ att 1222 Subject-function > att 1223 Edition > att 1224 GPO-Item-Number > att 1225 Provider >+att 1226 index-title-serie >+att 1227 index-title-article >+att 1228 index-lien-desc >+att 1229 index-genre >+att 1230 index-type-doc > > # Koha Local-Use Biblio Indexes > att 9001 Control-number >@@ -255,6 +260,7 @@ att 8028 uri > att 8029 replacementprice > att 8030 replacementpricedate > att 8031 itype >+att 8032 new-item > > ## Fixed Fields and other special indexes > att 9901 Extent >diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties >index 5c003d3..002bc01 100644 >--- a/etc/zebradb/ccl.properties >+++ b/etc/zebradb/ccl.properties >@@ -592,6 +592,15 @@ pb Publisher > Provider 1=1225 > pv Provider > >+#index zones de liens >+index-title-serie 1=1226 >+index-title-article 1=1227 >+index-lien-desc 1=1228 >+index-genre 1=1229 >+mc-genre901 index-genre >+index-type-doc 1=1230 >+mc-typedoc index-type-doc >+ > #Note 63 A concise statement in which 5XX > # such information as extended > # physical description, >@@ -1039,6 +1048,7 @@ replacementprice 1=8029 > replacementpricedate 1=8030 > itype 1=8031 > mc-itype itype >+new-item 1=8032 > > #date1 1=8801 > #date2 1=8802 >diff --git a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >index b1f51aa..f2a5a80 100644 >--- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >+++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >@@ -36,9 +36,16 @@ > <target_index>Date/time-last-modified:n</target_index> > <target_index>Date/time-last-modified:y</target_index> > </index_subfields> >+ >+ <index_subfields tag="099" subfields="o"> >+ <target_index>Suppress:w</target_index> >+ <target_index>Suppress:p</target_index> >+ </index_subfields> >+ > <!--record.abs line 30: melm 099$t ccode:w--> > <index_subfields tag="099" subfields="t"> >- <target_index>ccode:w</target_index> >+ <target_index>index-type-doc:w</target_index> >+ <target_index>index-type-doc:p</target_index> > </index_subfields> > <!--010 : ISBN--> > <index_subfields tag="010" subfields="az"> >@@ -472,6 +479,12 @@ > <target_index>Author:w</target_index> > <target_index>Author:p</target_index> > </index_data_field> >+ >+ <index_data_field tag="901"> >+ <target_index>index-genre:w</target_index> >+ <target_index>index-genre:p</target_index> >+ </index_data_field> >+ > <!--200 - Title--> > <!--Title-cover is used for relevant sorting--> > <index_subfields tag="200" subfields="aei"> >@@ -526,6 +539,27 @@ > <target_index>pubdate:n</target_index> > <target_index>pubdate:y</target_index> > </index_subfields> >+ >+ <index_subfields tag="214" subfields="d"> >+ <target_index>pubdate:n</target_index> >+ <target_index>pubdate:y</target_index> >+ </index_subfields> >+ >+ <index_subfields tag="214" subfields="c"> >+ <target_index>Publisher:w</target_index> >+ <target_index>Publisher:p</target_index> >+ </index_subfields> >+ <index_subfields tag="219" subfields="d"> >+ <target_index>pubdate:n</target_index> >+ <target_index>pubdate:y</target_index> >+ </index_subfields> >+ >+ <index_subfields tag="219" subfields="c"> >+ <target_index>Publisher:w</target_index> >+ <target_index>Publisher:p</target_index> >+ </index_subfields> >+ >+ > <!--215 - Extent--> > <!--Useless. Uncomment to index > <index_data_field tag="215"> >@@ -929,9 +963,12 @@ > </index_subfields> > <!--461 - Set level--> > <!-- FIXME Warning : field used by Koha for analytics, but also in Sudoc network--> >- <index_subfields tag="461" subfields="t"> >+ <index_subfields tag="461" subfields="tv"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> >+ <target_index>index-title-serie:p</target_index> >+ <target_index>index-title-serie:w</target_index> >+ <target_index>index-title-serie:n</target_index> > <target_index>Host-item:w</target_index> > <target_index>Host-item:p</target_index> > </index_subfields> >@@ -946,9 +983,36 @@ > <target_index>Title:p</target_index> > </index_subfields> > <!--463 - Subset level--> >- <index_subfields tag="463" subfields="t"> >+ <index_subfields tag="463" subfields="tv"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> >+ <target_index>index-title-article:p</target_index> >+ <target_index>index-title-article:w</target_index> >+ <target_index>index-title-article:n</target_index> >+ </index_subfields> >+ >+ <index_subfields tag="461" subfields="9"> >+ <target_index>index-lien-desc:w</target_index> >+ <target_index>index-lien-desc:p</target_index> >+ <target_index>index-lien-desc:n</target_index> >+ </index_subfields> >+ >+ <index_subfields tag="463" subfields="9"> >+ <target_index>index-lien-desc:w</target_index> >+ <target_index>index-lien-desc:p</target_index> >+ <target_index>index-lien-desc:n</target_index> >+ </index_subfields> >+ >+ <index_subfields tag="461" subfields="0"> >+ <target_index>index-lien-desc:w</target_index> >+ <target_index>index-lien-desc:p</target_index> >+ <target_index>index-lien-desc:n</target_index> >+ </index_subfields> >+ >+ <index_subfields tag="463" subfields="0"> >+ <target_index>index-lien-desc:w</target_index> >+ <target_index>index-lien-desc:p</target_index> >+ <target_index>index-lien-desc:n</target_index> > </index_subfields> > <!--464 - Piece-analytic level--> > <!-- FIXME Warning : field used by Koha for analytics, but also in Sudoc network--> >@@ -1355,6 +1419,13 @@ > <target_index>Local-classification:p</target_index> > </index_data_field> > <!--==== 995 ITEMS ====--> >+ >+ <!-- 995$B new items--> >+ <index_subfields tag="995" subfields="B"> >+ <target_index>new-item:w</target_index> >+ <target_index>new-item:n</target_index> >+ <target_index>item:w</target_index> >+ </index_subfields> > <!--995$1 damaged,damaged:n,item--> > <index_subfields tag="995" subfields="1"> > <target_index>damaged:w</target_index> >@@ -1446,12 +1517,19 @@ > <index_subfields tag="999" subfields="x"> > <target_index>not-onloan-count:n</target_index> > </index_subfields> >- <facet tag="099" subfields="t"> >- <target_index>ccode:0</target_index> >- </facet> >+ > <facet tag="225" subfields="a"> > <target_index>se:0</target_index> > </facet> >+ <facet tag="500" subfields="a"> >+ <target_index>su-ut:0</target_index> >+ </facet> >+ <facet tag="501" subfields="a"> >+ <target_index>su-ut:0</target_index> >+ </facet> >+ <facet tag="503" subfields="a"> >+ <target_index>su-ut:0</target_index> >+ </facet> > <facet tag="600" subfields="ab"> > <target_index>su-to:0</target_index> > </facet> >@@ -1494,8 +1572,5 @@ > <facet tag="995" subfields="e"> > <target_index>location:0</target_index> > </facet> >- <facet tag="995" subfields="h"> >- <target_index>ccode:0</target_index> >- </facet> > > </kohaidx:index_defs> >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20424
:
93732
|
93733
|
93736
|
119034
|
119053
|
119054
|
119080
|
119081
|
132663
|
132816
|
132817
|
132818
|
132827
|
132828
|
132829
|
148831
|
148832
|
148833
|
148834