Hahaha. That made my morning, Frido. I have no idea why Identifier-standard is set up that way. It might be worth doing a git-blame at some point.
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 -----Original Message----- From: Koha-devel <koha-devel-boun...@lists.koha-community.org> On Behalf Of Fridolin SOMERS Sent: Wednesday, 11 August 2021 8:57 AM To: koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] Zebra Trivia 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-structure Best regards, Le 21/07/2021 à 13:36, dc...@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.som...@biblibre.com> Software and system maintainer 🦄 BibLibre, France _______________________________________________ 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/ _______________________________________________ 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/