This patch adds an 'Export mappings' button to the Elasticsearch mappings configuration page. It triggers a YAML download of the current search field mappings using the new API endpoint. To test: 1. Apply this patch (and the previous API endpoint patch) 2. Navigate to Administration > Search engine configuration => SUCCESS: An 'Export mappings' button appears next to 'Reset mappings' 3. Click 'Export mappings' => SUCCESS: A 'search_mappings.yaml' file is downloaded 4. Verify the YAML file contains the expected mappings structure => SUCCESS: File contains search fields grouped by index 5. Sign off :-D Signed-off-by: Laurence <laurence.rault@biblibre.com> Signed-off-by: Thomas Klausner <domm@plix.at> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> |
||
|---|---|---|
| .. | ||
| intranet-tmpl | ||
| opac-tmpl | ||