Bug 21793

Summary: Inconsistences between search fields and mappings
Product: Koha Reporter: Frank Hansen <frank.hansen>
Component: Searching - ElasticsearchAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 - low CC: ere.maijala, katrin.fischer
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Frank Hansen 2018-11-08 17:21:26 UTC
I've found typos and inconsistencies in mappings.yaml

First, references to leader should be LDR_ instead of leader_. Otherwise will none of the search fields referring to leader be indexed.
Second, there are several inconsistencies between search fields and what's actually indexed in Elasticsearch. I suggest following changes to the search field mappings in the mappings.yaml file so these fields in indexed correctly in Elasticsearch. Here is my suggestions with the new mappings in brackets:

date-entered-on-file (008_/0-5)
bib-level (LDR_/7)
ff7-01 (007_/1)
ff7-02 (007_/2)
ff7-00 (007_/0)
llength (LDR_/0-4)
rtype (LDR_/6)
Comment 1 Ere Maijala 2019-01-08 08:46:43 UTC

*** This bug has been marked as a duplicate of bug 19575 ***