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

 

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/

Reply via email to