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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 6 17:51:19 CET 2017


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

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

--- Comment #34 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 59938
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59938&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"
      }
    }
  }
}'

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list