[Koha-bugs] [Bug 20334] Elasticsearch - Option for escaping slashes in search queries

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 4 10:51:13 CEST 2019


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at bywatersolutions.com

--- Comment #56 from Nick Clemens <nick at bywatersolutions.com> ---
This works well, I don't pretend to fully understand the regex,but it does what
it says. Possibly the options could be named to be a little more clear. If I
understand correctly:
Escape - this essentially disables regex searching since all the slashes get
escaped and you cannot escape them yourself
Don't Escape - does nothing,  regex searching works, but slashes must be
escaped for normal searching
Unescape escaped - enables regex if you escape the regex slashes


So maybe?
Disable regex searching
Enable regex searching (users must escape slashes)
Enable regex searching for advanced users

I think it is fine as is but needs release notes/documentation

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


More information about the Koha-bugs mailing list