<div dir="ltr">Zeno,<div><br></div><div>The existence of <span style="font-size:12.8000001907349px">biblio-koha-indexdefs.xml is not related to GRS-1 right now. It might have been (for a while) a way to transform the record.abs file into something translatable to XSLT. But it is a more useful thing now.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">The XML file provides with a user-friendly syntax for defining indexes (and now also facets). The etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl file is designed to process that syntax for creating a suitable XSLT for use in DOM.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">So, if you want to change some indexes, or facet definitions: do it on the XML file.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">If you want to change the behaviour of DOM indexing (for example, you could want to generate an index for the 'availability' filter on each record, so it is calculated on indexing time instead of complex un-doable PQF queries), then you should patch the meta-XSLT (</span><span style="font-size:12.8000001907349px">koha-indexdefs-to-zebra.xsl) so it generates an XSLT that generates that specific index out of a MARCXML record.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">It's been a while since we stopped re-generating the DOM files from the GRS-1, as we've been forcing people to fix both GRS-1 *and* DOM each time.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Hope this clarifies the landscape.</span></div><div><span style="font-size:12.8000001907349px">Regards</span></div><div><span style="font-size:12.8000001907349px">Tomas</span></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 13, 2015 at 7:07 AM, Tajoli Zeno <span dir="ltr"><<a href="mailto:z.tajoli@cineca.it" target="_blank">z.tajoli@cineca.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi to all,<br>
<br>
I find a bug on MARC21/Normarc DOM indexing.<br>
Bug 12948: <a href="http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12948" target="_blank">http://bugs.koha-community.<u></u>org/bugzilla3/show_bug.cgi?id=<u></u>12948</a><br>
<br>
Now that grs1 is deprecated, do we still use<br>
biblio-koha-indexdefs.xml and generate biblio-zebra-indexdefs.xsl ?<br>
<br>
Or now do we prefer edit biblio-zebra-indexdefs.xsl directly<br>
<br>
Bye<br>
Zeno Tajoli<br>
<br>
-- <br>
Dr. Zeno Tajoli<br>
Servizi Innovativi -- Automazione Biblioteche<br>
<a href="mailto:z.tajoli@cineca.it" target="_blank">z.tajoli@cineca.it</a><br>
fax +39 02 2135520<br>
CINECA - Sede operativa di Segrate<br>
______________________________<u></u>_________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-<u></u>community.org</a><br>
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">http://lists.koha-community.<u></u>org/cgi-bin/mailman/listinfo/<u></u>koha-devel</a><br>
website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.<u></u>org/</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Tomás Cohen Arazi</div><div>Prosecretaría de Informática</div><div>Universidad Nacional de Córdoba</div><div>✆ +54 351 5353750 ext 13168</div><div>GPG: B76C 6E7C 2D80 551A C765  E225 0A27 2EA1 B2F3 C15F</div></div></div>
</div>