http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11232
--- Comment #27 from David Cook <[email protected]> --- (In reply to Tomás Cohen Arazi from comment #26) > (In reply to David Cook from comment #25) > > (In reply to Tomás Cohen Arazi from comment #24) > > > (In reply to David Cook from comment #20) > > > > Latest trial... > > > > > > > > Facets seem to work great with my package install but not with my > > > > tarball > > > > dev install. > > > ... > > > > <term coccur="4" occur="2">+I7</term> > > > > <term coccur="4" occur="1">+I7</term> > > > > </facet> > > > > </record> > > > > > > > > -- > > > > > > > > Will have to look into possible causes for this... > > > > > > David, the problem with your setup is that you inadvertedly set ICU for > > > the > > > :0 index which you shouldn't. > > > > > > Just set: > > > > > > icuchain words-icu.xml > > > > > > for 'index w' and 'index p'. > > > > > > We are using the :0 index for display purposes, so no comparisson or order > > > definition is in place. > > > > > > I think it is time to start coding :-D > > > > Thanks for all that info, Tomas! You're the best! > > > > However, I don't believe that I have ICU set for the :0 index. I only have > > icuchain words-icu.xml set up for 'index w' and 'index p'. Here's what I > > have in my default.idx for "index 0": > > > > # Null map index (no mapping at all) > > # Used if structure=key (@attr 4=3) > > index 0 > > completeness 0 > > position 1 > > charmap @ > > > > Here's the diagnostic message I get when I try to use "index 0": > > > > Records: 1 > > Diagnostic message(s) from database: > > [25] Specified element set name not valid for specified database -- v2 > > addinfo '' > > > > I get the same message when I try with my non-ICU system :/. > > What I did was: > > -added some :0 use in zebradb/retrieval-info-bib-dom.xml like: > > <retrieval syntax="xml" name="zebra::facet::subject:0:100"/> > > - Edited marc_defs/marc21/biblios/biblio-koha-indexdefs.xml and added an > occurence of > > <target_index>Subject:0</target_index> > after every > <target_index>Subject:p</target_index> > > this could be narrowed down later (we might not need facets for all thsoe > fields), but I wanted to make sure :0 contained the same as :p for subject, > for testing purposes. > > - Run > xsltproc ~/koha-dev/etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl > biblio-koha-indexdefs.xml > biblio-zebra-indexdefs.xsl > > to regenerate the xsl file, > > - Then reindex :-( > > And then search using: > Z> format xml > Z> elem zebra::facet::subject:0:100 > > I also had zebra::facet::subject:p defined to compare the results over the > same search. > > Regards > To+ I believe that I've done the same thing and am getting that error instead :(. I'll try again though just to make sure :). -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
