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

(-)a/Koha/SearchEngine/Elasticsearch.pm (+2 lines)
Lines 217-222 sub get_elasticsearch_mappings { Link Here
217
                    $es_type = 'integer';
217
                    $es_type = 'integer';
218
                } elsif ($type eq 'isbn' || $type eq 'stdno') {
218
                } elsif ($type eq 'isbn' || $type eq 'stdno') {
219
                    $es_type = 'stdno';
219
                    $es_type = 'stdno';
220
                } elsif ($type eq 'date') {
221
                    $es_type = 'date';
220
                }
222
                }
221
223
222
                if ($search) {
224
                if ($search) {
(-)a/admin/searchengine/elasticsearch/field_config.yaml (-1 / +3 lines)
Lines 35-40 search: Link Here
35
        search_analyzer: analyzer_phrase
35
        search_analyzer: analyzer_phrase
36
      raw:
36
      raw:
37
        type: keyword
37
        type: keyword
38
  date:
39
    type: integer
40
    ignore_malformed: true
38
  default:
41
  default:
39
    type: text
42
    type: text
40
    analyzer: analyzer_standard
43
    analyzer: analyzer_standard
41
- 

Return to bug 25378