This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 18.11.x has been updated
       via  60b4ab8a922d2ac946c81787dc5399668587a0e4 (commit)
      from  23e62d6aa8a054ce0447a057994c2583592f0da7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 60b4ab8a922d2ac946c81787dc5399668587a0e4
Author: Fridolin Somers <fridolin.som...@biblibre.com>
Date:   Wed May 29 15:20:41 2019 +0200

    Bug 21534: Always compute wildcards
    
    You get no results when searching with an hyphen + with * in query string 
(or with preference QueryAutoTruncate) :
    ie /cgi-bin/koha/opac-search.pl?q=saints-anges*
    
    Looks like query-string by default does not compute wildcards, see 
analyze_wildcard in :
    
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html
    
    Test plan :
    1) Use Elasticsearch
    2) Create a record with "saints-anges"
    3) Search for "saints-anges" => you get results
    4) Search for "saints-anges*" => you get results
    5) Search for "saints-ang*" => you get results
    
    Signed-off-by: Michal Denar <blac...@gmail.com>
    Signed-off-by: Arthur Bousquet <arthur.bousq...@inlibro.com>
    Signed-off-by: Nick Clemens <n...@bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvo...@ptfs-europe.com>
    (cherry picked from commit 001d433b427731a6efd55208ac3169107c830730)
    Signed-off-by: Fridolin Somers <fridolin.som...@biblibre.com>
    (cherry picked from commit a8cc9d5f49f36a5bf69265f3062f1a7a8ee0fdf4)

-----------------------------------------------------------------------

Summary of changes:
 Koha/SearchEngine/Elasticsearch/QueryBuilder.pm |    1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
main Koha release repository
_______________________________________________
koha-commits mailing list
koha-commits@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-commits

Reply via email to