[Koha-bugs] [Bug 22229] New: Elasticsearch - fields do not have aliases - Koha should always use the common term internally

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 29 17:38:35 CET 2019


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

            Bug ID: 22229
           Summary: Elasticsearch - fields do not have aliases - Koha
                    should always use the common term internally
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
  Target Milestone: ---

This problem was discovered in the advanced search - when limiting by shelving
location the search is composed as 
limit=mc-loc:{term}

this fails in ES because the index is setup as 'location'

What works in both is:
limit=location:{term} 

We either need to build field aliases into ES
(https://www.elastic.co/guide/en/elasticsearch/reference/master/alias.html)

Or make sure to use consistent names across Koha

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


More information about the Koha-bugs mailing list