[Koha-bugs] [Bug 19905] Don't append wildcard to query terms

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 2 16:52:42 CET 2018


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

--- Comment #1 from David Gustafsson <glasklas at gmail.com> ---
Created attachment 70227
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70227&action=edit
Bug 19905 - Don't append wildcard to query terms

Appending '*' to query terms makes Elasticsearch skip search
analysis. This will for example cause issues with search links
in biblio details for values other than a just single term, since
the indexed value has been tokenized.

How to test:
1) Find a biblio with a field value containing word boundaries and/or
punctuation marks. For example: "au:Author, Name".
2) Perform a search using this query, this should not produce any results.
3) Apply patch.
4) Search using the same query again, it should now produce the expected
results.

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


More information about the Koha-bugs mailing list