https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38749 --- Comment #3 from David Cook <dcook@prosentient.com.au> --- (In reply to Fridolin Somers from comment #2)
Zebra doesn't support * for doing a masked/wildcard search
Strange I never noticed this. Looks correct indeed in CCL doc : https://software.indexdata.com/yaz/doc/tools.html#ccl.syntax
I hadn't thought about the CCL syntax specifically. That's interesting. "2.4.4. Truncation Attributes (type = 5)" on https://software.indexdata.com/zebra/doc/querymodel-rpn.html Our Koha CCL qualifier "process-in-search-term" maps to "Process # in search term" for the RPN truncation. I couldn't get that CCL syntax to work but the RPN one does. In CCL, the # is a mask for one character whereas in the RPN it's translated into .* and then does a regexp search. Although as I say that... I wonder if that means other characters in the query that could be a regular expression character would also be interpreted. Probably.
Not sure where to start on this complex topic
Yeah, that's why I'm thinking of not pursuing this one. Zebra is on the way out, and changing a search fundamental seems... problematic, even if it could be an improvement. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.