[Koha-bugs] [Bug 15745] C4::Matcher gets CCL parsing error if term contains ? (question mark)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 15 00:05:32 CET 2016


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

--- Comment #5 from David Cook <dcook at prosentient.com.au> ---
Interestingly enough, Zebra doesn't like it when you embed double quotes in a
URL.

http://prosentient.com.au?test="test"

Becomes the following during indexing:

http://prosentient.com.au?test=@test@

And the only way to retrieve it is to use the @ symbol instead of the double
quotes in the query as well.

Z> find uri,st-urx=http://prosentient.com.au?test="test"
CCL ERROR: Embedded truncation not supported

Z> find uri,st-urx="http://prosentient.com.au?test="test""
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 0, setno 11
SearchResult-1: term=http://prosentient.com.au?test=test cnt=0
records returned: 0
Elapsed: 0.000750

Z> find uri,st-urx="http://prosentient.com.au?test=@test@"
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 1, setno 10
SearchResult-1: term=http://prosentient.com.au?test=@test@ cnt=1
records returned: 0
Elapsed: 0.000918

Now I'll try an example with normal word and phrase indexes...

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


More information about the Koha-bugs mailing list