[Koha-bugs] [Bug 28899] New: Don't always make = into : for elastic range searching

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 25 22:26:14 CEST 2021


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

            Bug ID: 28899
           Summary: Don't always make = into : for elastic range searching
 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: andrew at bywatersolutions.com

For range searches, Elastic supports searches for ranges with one end bound,
like "pubdate greater than or equal to 2020." Except the phrasing for that
would be "pubdate:>=2020." And Koha wants to let us use either a colon or an
equals sign after our index name, so it always converts an equals sign in to a
colon, which means our query turns into "pubdate:>:2020" and we get an error.

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


More information about the Koha-bugs mailing list