[Koha-bugs] [Bug 23521] New: ES 6 - limit terms with many word can make the search inaccurate

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 29 16:50:36 CEST 2019


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

            Bug ID: 23521
           Summary: ES 6 - limit terms with many word can make the search
                    inaccurate
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: alex.arnaud at biblibre.com

That issue seems to happen only with elasticsearch 6. So make this BZ depends
on ES 6 Omnibus.

Refining a search on author lead to the following query:

    "query_string": {
      "query": "(_record:*) AND author:Dillinger Girl"
    }

This query returns a document with "Dillinger Escaplan" as author and "Girl" in
the title => Ko

The fix should be something like:

    "query_string": {
      "query": "(_record:*) AND author:(Dillinger Girl)"
    }

That query returns only documents with "Dillinger Girl" as author => Ok

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