Koha/admin/searchengine/elasticsearch/field_config.yaml
David Gustafsson fc0abee558 Bug 19893: Remove serialization format setting
Default to base64 encoded binary MARC with MARCXML
fallback if record exceeds maximum size

Sponsored-by: Gothenburg University Library
Signed-off-by: Ere Maijala <ere.maijala@helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-11-16 11:04:57 +00:00

72 lines
1.3 KiB
YAML

---
# General field configuration
general:
_all:
type: string
analyzer: analyser_standard
properties:
marc_data:
store: true
type: text
analyzer: keyword
index: false
marc_format:
store: true
type: text
analyzer: keyword
index: false
# Search fields
search:
boolean:
type: boolean
null_value: false
integer:
type: integer
null_value: 0
stdno:
type: text
analyzer: analyser_stdno
search_analyzer: analyser_stdno
fields:
phrase:
type: text
analyzer: analyser_stdno
search_analyzer: analyser_stdno
raw:
type: keyword
copy_to: _all
default:
type: text
analyzer: analyser_standard
search_analyzer: analyser_standard
fields:
phrase:
type: text
analyzer: analyser_phrase
search_analyzer: analyser_phrase
raw:
type: keyword
lc_raw:
type: keyword
normalizer: my_normalizer
copy_to: _all
# Facets
facet:
default:
type: keyword
# Suggestible
suggestible:
default:
type: completion
analyzer: simple
search_analyzer: simple
# Sort
sort:
default:
type: text
analyzer: analyser_phrase
search_analyzer: analyser_phrase
fields:
phrase:
type: keyword