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

David Gustafsson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #82795|0                           |1
        is obsolete|                            |

--- Comment #18 from David Gustafsson <[email protected]> ---
Created attachment 110054
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110054&action=edit
Bug 19707 - Add new operations for synchronizing Elasticsearch mappings

Add new "merge", "revert" and "add" operations for synchronizing
Elasticsearch mappings stored in database with mappings.yaml

How to test:

1)  Make sure mappings.yaml contains mappings not present in database.
    (Also be aware that steps below will result in changed search engine
    configuration, so use a test environment and/or make sure to
    backup database before starting)
2)  Go to "Administration" and "Search Engine Configuration"
3)  Click "Add mappings" and confirm
4)  Verify that any new mappings in mappings.yaml has been added, but
    no current mappings has been modified or deleted
5)  Edit mappings.yaml and add a new mapping for some field (new item
    below "mappings:" key)
6)  Add a new mapping for the same field in the database (through admin ui)
7)  Click "Merge mappings" and confirm
8)  Verify that the new mapping from mappings.yaml has been added for this
field,
    while the field added in database was preserved
10)  Click "Revert mappings" and confirm
11) Verify that the mapping previously added the field in database has
    been deleted, and the mappings for this field are identical to those
    in mappings.yaml

Sponsored-by: Gothenburg University Library

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to