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

(-)a/C4/Search.pm (+2 lines)
Lines 996-1001 sub getIndexes{ Link Here
996
                    'Conference-name-seealso',
996
                    'Conference-name-seealso',
997
                    'Content-type',
997
                    'Content-type',
998
                    'Control-number',
998
                    'Control-number',
999
                    'Control-number-identifier',
1000
                    'cni',
999
                    'copydate',
1001
                    'copydate',
1000
                    'Corporate-name',
1002
                    'Corporate-name',
1001
                    'Corporate-name-heading',
1003
                    'Corporate-name-heading',
(-)a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm (+1 lines)
Lines 81-86 our %index_field_convert = ( Link Here
81
    'nt' => 'note',
81
    'nt' => 'note',
82
    'notes' => 'note',
82
    'notes' => 'note',
83
    'rcn' => 'record-control-number',
83
    'rcn' => 'record-control-number',
84
    'cni' => 'control-number-identifier',
84
    'su' => 'subject',
85
    'su' => 'subject',
85
    'su-to' => 'subject',
86
    'su-to' => 'subject',
86
    #'su-geo' => 'subject',
87
    #'su-geo' => 'subject',
(-)a/admin/searchengine/elasticsearch/mappings.yaml (+9 lines)
Lines 3279-3284 biblios: Link Here
3279
        sort: ~
3279
        sort: ~
3280
        suggestible: ''
3280
        suggestible: ''
3281
    type: ''
3281
    type: ''
3282
  control-number-identifier:
3283
    label: control-number-identifier
3284
    mappings:
3285
      - facet: ''
3286
        marc_field: 003
3287
        marc_type: marc21
3288
        sort: ~
3289
        suggestible: ''
3290
    type: ''
3282
  record-source:
3291
  record-source:
3283
    label: record-source
3292
    label: record-source
3284
    mappings:
3293
    mappings:
(-)a/etc/zebradb/biblios/etc/bib1.att (+1 lines)
Lines 221-226 att 9010 cn-suffix Link Here
221
att 9011    Suppress
221
att 9011    Suppress
222
att 9012    Identifier-other
222
att 9012    Identifier-other
223
att 9013    not-onloan-count
223
att 9013    not-onloan-count
224
att 9014    Control-number-identifier
224
225
225
# Items Index
226
# Items Index
226
att 8001    withdrawn
227
att 8001    withdrawn
(-)a/etc/zebradb/ccl.properties (+3 lines)
Lines 996-1001 llength 1=llength Link Here
996
Summary 1=Summary
996
Summary 1=Summary
997
not-onloan-count 1=9013 4=109
997
not-onloan-count 1=9013 4=109
998
998
999
Control-number-identifier 1=9014
1000
cni Control-number-identifier
1001
999
###
1002
###
1000
# Items Index
1003
# Items Index
1001
withdrawn 1=8001
1004
withdrawn 1=8001
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml (+3 lines)
Lines 16-21 Link Here
16
  <index_control_field tag="001">
16
  <index_control_field tag="001">
17
    <target_index>Control-number:w</target_index>
17
    <target_index>Control-number:w</target_index>
18
  </index_control_field>
18
  </index_control_field>
19
  <index_control_field tag="003">
20
    <target_index>Control-number-identifier:w</target_index>
21
  </index_control_field>
19
  <!--record.abs line 44: melm 005        Date/time-last-modified-->
22
  <!--record.abs line 44: melm 005        Date/time-last-modified-->
20
  <index_control_field tag="005">
23
  <index_control_field tag="005">
21
    <target_index>Date/time-last-modified:w</target_index>
24
    <target_index>Date/time-last-modified:w</target_index>
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (-1 / +5 lines)
Lines 62-67 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
62
      <xslo:value-of select="."/>
62
      <xslo:value-of select="."/>
63
    </z:index>
63
    </z:index>
64
  </xslo:template>
64
  </xslo:template>
65
  <xslo:template match="marc:controlfield[@tag='003']">
66
    <z:index name="Control-number-identifier:w">
67
      <xslo:value-of select="."/>
68
    </z:index>
69
  </xslo:template>
65
  <xslo:template match="marc:controlfield[@tag='005']">
70
  <xslo:template match="marc:controlfield[@tag='005']">
66
    <z:index name="Date/time-last-modified:w">
71
    <z:index name="Date/time-last-modified:w">
67
      <xslo:value-of select="."/>
72
      <xslo:value-of select="."/>
68
- 

Return to bug 28830