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

(-)a/Koha/SearchEngine/Elasticsearch.pm (-1 / +1 lines)
Lines 272-277 sub raw_elasticsearch_mappings { Link Here
272
            $mappings->{ $marc_map->index_name }{ $search_field->name }{label} = $search_field->label;
272
            $mappings->{ $marc_map->index_name }{ $search_field->name }{label} = $search_field->label;
273
            $mappings->{ $marc_map->index_name }{ $search_field->name }{type} = $search_field->type;
273
            $mappings->{ $marc_map->index_name }{ $search_field->name }{type} = $search_field->type;
274
            $mappings->{ $marc_map->index_name }{ $search_field->name }{facet_order} = $search_field->facet_order;
274
            $mappings->{ $marc_map->index_name }{ $search_field->name }{facet_order} = $search_field->facet_order;
275
            $mappings->{ $marc_map->index_name }{ $search_field->name }{weight} = $search_field->weight || undef;
275
276
276
            push (@{ $mappings->{ $marc_map->index_name }{ $search_field->name }{mappings} },
277
            push (@{ $mappings->{ $marc_map->index_name }{ $search_field->name }{mappings} },
277
                {
278
                {
278
- 

Return to bug 23204