View | Details | Raw Unified | Return to bug 15048
Collapse All | Expand All

(-)a/admin/searchengine/elasticsearch/mappings.yaml (-1 / +1 lines)
Lines 1670-1676 biblios: Link Here
1670
    label: index-term-genre
1670
    label: index-term-genre
1671
    mappings:
1671
    mappings:
1672
      - facet: ''
1672
      - facet: ''
1673
        marc_field: 655a
1673
        marc_field: 655avxyz
1674
        marc_type: marc21
1674
        marc_type: marc21
1675
        sort: ~
1675
        sort: ~
1676
        suggestible: ''
1676
        suggestible: ''
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml (-1 / +1 lines)
Lines 789-795 Link Here
789
    <target_index>Subject:p</target_index>
789
    <target_index>Subject:p</target_index>
790
  </index_data_field>
790
  </index_data_field>
791
  <!--melm 655$a      Index-term-genre    -->
791
  <!--melm 655$a      Index-term-genre    -->
792
  <index_subfields tag="655" subfields="a">
792
  <index_subfields tag="655" subfields="axvyz">
793
    <target_index>Index-term-genre:w</target_index>
793
    <target_index>Index-term-genre:w</target_index>
794
    <target_index>Index-term-genre:p</target_index>
794
    <target_index>Index-term-genre:p</target_index>
795
    <target_index>Subject:w</target_index>
795
    <target_index>Subject:w</target_index>
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (-2 / +1 lines)
Lines 722-728 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
722
  </xslo:template>
722
  </xslo:template>
723
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='655']">
723
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='655']">
724
    <xslo:for-each select="marc:subfield">
724
    <xslo:for-each select="marc:subfield">
725
      <xslo:if test="contains('a', @code)">
725
      <xslo:if test="contains('axvyz', @code)">
726
        <z:index name="Index-term-genre:w Index-term-genre:p Subject:w Subject:p">
726
        <z:index name="Index-term-genre:w Index-term-genre:p Subject:w Subject:p">
727
          <xslo:value-of select="."/>
727
          <xslo:value-of select="."/>
728
        </z:index>
728
        </z:index>
729
- 

Return to bug 15048