+
+ <section id="default-idx-zebra">
+ <title>Accessing Zebra internal record data using
+ the <literal>zebra::</literal> element sets</title>
+ <para>
+ Starting with <literal>Zebra</literal> version
+ <literal>2.0.4-2</literal> or newer, one has the possibility to
+ use the special
+ <literal>zebra::data</literal>,
+ <literal>zebra::meta</literal> and
+ <literal>zebra::index</literal> element set names.
+ </para>
+ <note>
+ <para>
+ Usage of the <literal>zebra::</literal> element sets accesses
+ record data directly from the internal storage, and will
+ therefore work exactly the same way, irrespectively of indexing
+ filter used.
+ </para>
+ <para>
+ These element set names are optimized for retrieval speed, and
+ will perform better than using for example
+ <literal>alvis</literal> filter XSLT based extraction of small
+ parts of the records.
+ </para>
+ </note>
+ <para>
+ For example, to fetch the raw binary record data stored in the
+ zebra internal storage, or on the filesystem, the following
+ commands can be issued:
+ <screen>
+ Z> f @attr 1=title my
+ Z> format xml
+ Z> elements zebra::data
+ Z> s 1+1
+ Z> format sutrs
+ Z> s 1+1
+ Z> format usmarc
+ Z> s 1+1
+ </screen>
+ </para>
+ <note>
+ <para>
+ The special
+ <literal>zebra::data</literal> element set name is
+ defined for any record syntax, but will always fetch
+ the raw record data in exactly the original form. No record syntax
+ specific transformations will be applied to the raw record data.
+ </para>
+ </note>