https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38336

Thibaud Guillot (thibaud_g) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |m

--- Comment #38 from Thibaud Guillot (thibaud_g) <[email protected]> 
---
Hello,

While testing this patch, I noticed something that looks off in
`admin/searchengine/elasticsearch/mappings.yaml`, but I'd like a second opinion
since I'm not fully familiar with the ES mapping semantics.

The new `099x` (unimarc) mapping seems to have been added under the
`title-other-variant` field (around line 4380):

 ```yaml
   title-other-variant:
     ...
     - marc_field: '740'
       marc_type: marc21
       ...
     - marc_field: '099x'
       marc_type: unimarc
       sort: 1
       suggestible: ''
 ```

rather than under `totalissues` (line 4468), which currently only has a marc21
entry and no unimarc one:

 ```yaml
   totalissues:
     mappings:
     - marc_field: '9420'
       marc_type: marc21
 ```

Since 099$x holds the totalissues count (as reflected in the Zebra indexdefs
changes in this same patch), I'd have expected the unimarc entry to go under
`totalissues` instead. Could you confirm whether this placement is intentional,
or if it should be moved? Happy to be corrected if I'm misreading the mapping
structure.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to