[Koha-bugs] [Bug 27597] Searching "kw:term" does not work with Elasticsearch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 12 14:31:36 CET 2021


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

--- Comment #14 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Fridolin Somers from comment #10)
> Created attachment 117857 [details] [review]
> Bug 27597: Remove extra spaces in the generated query
> 
> Look at the tests, sometime we have extra spaces.
> With this patch they still pass and the expected queries are better.
> Feel free to drop this patch if you have any concerns about it.
> 
> Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

I obsoleted this, it causes a recreation of issues solved in bug 24567, tested
with the comment from bug 24372:

Using an example record in the testing DB, try searching for:
Pictura murală din nordul Moldovei: modificari estetice si restarare = Mural
painting in the north of Moldavia: aesthetic modification and restoration

In ES the search fails. If you look at the query we end up with terms like:
Moldoveimodificari AND Moldaviaaesthetic

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


More information about the Koha-bugs mailing list