https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21534
Arthur Bousquet <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #90207|0 |1 is obsolete| | --- Comment #14 from Arthur Bousquet <[email protected]> --- Created attachment 90260 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90260&action=edit 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 <[email protected]> Signed-off-by: Arthur Bousquet <[email protected]> Current status: Signed Off -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
