[Koha-bugs] [Bug 25273] New: Elasticsearch Authority matching is returning too many results

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 24 12:54:36 CEST 2020


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

            Bug ID: 25273
           Summary: Elasticsearch Authority matching is returning too many
                    results
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: MARC Authority data support
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

Bug 24269 attempted to improve the authority matching process in ES, however,
it does not accomplish the full extent of what is needed.

Match-heading is used as the matching field for records, and I added
C4::Heading to be used to generate the correct form including subfields,
however, the subfields are still indexed at normally too. This is problematic
as the index for a heading like:
$aCats$vFiction$zVermont

Is indexed into match-heading as:
["Cats","Cats genresubdiv Fiction geosubdiv Vermont","Vermont"]

Thus if a record has a heading of:
Vermont

It returns the above record.

We need to index for the linker into a field that only gets the correct search
form for heading and no other data. I propose to do this by retrieving the
fields set to be copied from Administration->Authority types and indexing them
into a field that can be used only for matching/

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