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

--- Comment #18 from David Cook <[email protected]> ---
Ah, but as I look again at Koha/Biblio.pm, we have to factor in Elasticsearch.
I don't know if Elasticsearch can handle double quotes around $cleaned_title.

I suppose clean_search_term() could escape double quotes within 245$a using a
backslash[1], plus it could return the clean_search_term wrapped in double
quotes, so that Zebra processes it correctly.

I'll leave that distinction up to someone more familiar with the Koha-ES
integration...

[1]
Z> find (Any="shuffle "")
CCL ERROR: ')' expected

Z> find (Any="shuffle \"")
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 3, setno 28
SearchResult-1: term=shuffle cnt=3
records returned: 0
Elapsed: 0.000369

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to