Beuuuuuu (sound of a GNU looking at a Zebra). Why on earth is there this 4=6 in ccl.properties ? THis is usefull for field type (date, numeric ...) or truncation, but never for phrase/wrdl ... The (only) doc from Indexdata : https://software.indexdata.com/zebra/doc/querymodel-rpn.html#querymodel-bib1... Best regards, Le 21/07/2021 à 13:36, dcook@prosentient.com.au a écrit :
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.u
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/
-- Fridolin SOMERS <fridolin.somers@biblibre.com> Software and system maintainer 🦄 BibLibre, France