[Koha-bugs] [Bug 17255] Upgrade Elastic Search code to work with version 2.4+

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 9 17:24:46 CET 2017


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

--- Comment #26 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 58690
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58690&action=edit
Bug 17255 - Upgrade Elastic Search code to work with version 2.4+ - rebased wip

-Changed deprecated facets to aggregations
-Fixed boolean datatypes not allowing analyzers to be specified
-Fixed deprecated '_id' to 'es_id'. Now the ES-index has the correct
id==biblionumber

ZE TEST PLAN

1. Reset Zebra index since facets are hard coded to dynamic
search_marc_mappings.
2. perl misc/search_tools/rebuild_elastic_search.pl
3. Fetch all indexed records and the facet for subject__facet

curl -XGET localhost:9200/koha_biblios/data/_search?pretty -d '{
  "aggregations": {
    "my_agg": {
      "terms": {
        "field": "subject__facet"
      }
    }
  }
}'

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list