[Koha-bugs] [Bug 23204] Add script for exporting elasticsearch mappings to YAML
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 29 12:18:41 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23204
--- Comment #42 from Alex Arnaud <alex.arnaud at biblibre.com> ---
(In reply to Jonathan Druart from comment #31)
> Created attachment 101857 [details] [review]
> Bug 23204: Update the mappings.yaml file with the output generated
>
> We need to be consistent and provide the mappings.yaml file generated by
> the script.
>
> Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
I think i agreed a little to fast this commit. Removing quote on field number
starting with 0 (030) make that number is badly interpreted (as octal).
So this mapping:
coden:
label: coden
mappings:
- facet: ''
marc_field: 030
marc_type: marc21
sort: ~
suggestible: ''
makes coden mapped with field 24
Indexing fail:
root at 2dc1f5ace3f5:koha(master)$ perl misc/search_tools/rebuild_elasticsearch.pl
-b -a -d -v
[1324] Checking state of biblios index
[1324] Dropping and recreating biblios index
[1324] Checking state of authorities index
[1324] Dropping and recreating authorities index
[1324] Indexing biblios
[1324] Committing final records...
Invalid MARC field expression: 24
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list