[Koha-devel] Zebra Trivia

dcook at prosentient.com.au dcook at prosentient.com.au
Thu Jul 22 01:36:57 CEST 2021


Hi all,

 

Today I learned (or maybe re-learned) something about Zebra CCL syntax:

 

"Identifier-standard,phr" does not do a phrase search. It does a word list
search. Now you might this this is impossible, but it's not, because
Identifier-standard is hard-coded with 4=6 in ccl.properties:
Identifier-standard  1=1007 4=6

 

Since Identifier-standard has already set the "4" structure attribute, "phr"
does nothing.

 

However, if you write "phr,Identifier-standard", it will do a phrase search.
That's because the "phr" sets the "4" structure attribute before the
"Identifier-standard" gets converted into PQF/RPN.

 

Cool, n'est-ce pas? 

 

David Cook

Senior Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia

 

Office: 02 9212 0899

Online: 02 8005 0595

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210722/cacda17f/attachment.htm>


More information about the Koha-devel mailing list