Bug 21793 - Inconsistences between search fields and mappings
Summary: Inconsistences between search fields and mappings
Status: RESOLVED DUPLICATE of bug 19575
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-08 17:21 UTC by Frank Hansen
Modified: 2019-01-08 08:46 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***