Koha-clms/t/Koha/SearchEngine
David Gustafsson da16f6bc91
Bug 20334: Option for escaping slashes in search queries
Add "QueryRegexEscapeOption" system preference to provide option to escape
Elasticsearch regexp delimiters (/) within queries, or alternativly to
unescape escaped slashes (\/) while escaping unescaped slashes, in
effect making "\/" the new regexp delimiter.

How to test:
1) Run tests in ./t/Koha/SearchEngine/ElasticSearch/QueryBuilder.t
2) All tests should succeed

Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr>
Signed-off-by: Maksim Sen <maksim.sen@inlibro.com>
Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-10-08 14:09:53 +01:00
..
ElasticSearch Bug 20334: Option for escaping slashes in search queries 2019-10-08 14:09:53 +01:00
Elasticsearch Bug 22228: Update test for updated mappings 2019-03-04 18:37:43 +00:00
Zebra Bug 16660: (followup) Unit tests 2017-10-27 14:09:02 -03:00
Elasticsearch.t Bug 20589: (follow-up) Fix tests 2019-10-03 16:00:10 +01:00