[Koha-bugs] [Bug 21331] New: [Elasticsearch] Concatenated subfields are not indexed correctly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 11 17:42:21 CEST 2018


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

            Bug ID: 21331
           Summary: [Elasticsearch] Concatenated subfields are not indexed
                    correctly
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: alex.arnaud at biblibre.com

I have the following unimarc data for a biblio:

200 $f Hanna Johansen
700 $a Johansen, $b Hanna
701 $a Maquet, $b Yves-Marie
701 $a Behnd, $b Kathi

And the following mappings in search engine configuration:

author => 200f
author => 700ba
author => 701ba

Data that results of indexing in Elasticsearch is like:

"author__facet" : [ 
  "Hanna Johansen",
  "JohansenHanna"
  "MaquetYves-Marie",
  "BehndKathi"
],
"author" : [
  "Hanna Johansen",
  "JohansenHanna",
  "MaquetYves-Marie",
  "BehndKathi"
],

This can cause troubles when searching and with facets. What we want is:

"author__facet" : [ 
  "Hanna Johansen",
  "Johansen Hanna"
  "Maquet Yves-Marie",
  "Behnd Kathi"
],
"author" : [
  "Hanna Johansen",
  "Johansen Hanna",
  "Maquet Yves-Marie",
  "Behnd Kathi"
],

-- 
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