Lines 274-279
sub raw_elasticsearch_mappings {
Link Here
|
274 |
|
274 |
|
275 |
$mappings->{ $marc_map->index_name }{ $search_field->name }{label} = $search_field->label; |
275 |
$mappings->{ $marc_map->index_name }{ $search_field->name }{label} = $search_field->label; |
276 |
$mappings->{ $marc_map->index_name }{ $search_field->name }{type} = $search_field->type; |
276 |
$mappings->{ $marc_map->index_name }{ $search_field->name }{type} = $search_field->type; |
|
|
277 |
$mappings->{ $marc_map->index_name }{ $search_field->name }{mandatory} = $search_field->mandatory; |
277 |
$mappings->{ $marc_map->index_name }{ $search_field->name }{facet_order} = $search_field->facet_order if defined $search_field->facet_order; |
278 |
$mappings->{ $marc_map->index_name }{ $search_field->name }{facet_order} = $search_field->facet_order if defined $search_field->facet_order; |
278 |
$mappings->{ $marc_map->index_name }{ $search_field->name }{weight} = $search_field->weight if defined $search_field->weight; |
279 |
$mappings->{ $marc_map->index_name }{ $search_field->name }{weight} = $search_field->weight if defined $search_field->weight; |
279 |
$mappings->{ $marc_map->index_name }{ $search_field->name }{opac} = $search_field->opac if defined $search_field->opac; |
280 |
$mappings->{ $marc_map->index_name }{ $search_field->name }{opac} = $search_field->opac if defined $search_field->opac; |