[Koha-bugs] [Bug 24555] New: POC Elasticsearch - Use boolean queries instead of full text queries

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 31 17:01:33 CET 2020


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

            Bug ID: 24555
           Summary: POC Elasticsearch - Use boolean queries instead of
                    full text queries
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: alex.arnaud at biblibre.com

Here is a proof of concept for replacing current use of full text queries (with
query_string) by boolean queries on biblio searches.

Advantage:
    => No search craches with special character ( "!", ")" etc...)
    => Separate query context and filter context:
        - Search scores are not altered by facets,
        - Ability to use range filter  (i.e for publication date facet)

Also, this POC adds a button "ES query" in the search results header so you can
see the query sent to ES.

Code is not beautiful, there is no unit test, it's a POC.

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