[Koha-bugs] [Bug 18163] New: Elasticsearch itemtype indexing correctly for unimarc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 23 12:14:44 CET 2017


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

            Bug ID: 18163
           Summary: Elasticsearch itemtype indexing correctly for unimarc
 Change sponsored?: ---
           Product: Koha
           Version: 16.11
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Searching
          Assignee: gmcharlt at gmail.com
          Reporter: pjamorim91 at gmail.com
        QA Contact: testopia at bugs.koha-community.org

After installing and indexing Elasticsearch, a search for itemtype is not
working correctly. The reason for this I think is that Marc21 uses the index
itype whereas Unimarc uses the index itemtype.
The index mapped in mappings.yml is itype, and a search for item type in
unimarc will search on itemtype index, which has nothing mapped to.

Furthermore, trying to change the index from itype to itemtype in the mappings
panel for elasticsearch will trigger the following error:

Can't call method "label" on an undefined value at
/usr/share/koha/intranet/cgi-bin/admin/searchengine/elasticsearch/mappings.pl
line 69

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


More information about the Koha-bugs mailing list