|
|
Index Data > Zebra > Zebra - User's Guide and Reference > Retrieval of Zebra internal record data
Starting with Using this element will, regardless of record type, return Zebra's internal index structure/data for a record. In particular, the regular record filters are not invoked when these are in use. This can in some cases make the retrival faster than regular retrieval operations (for MARC, XML etc). Table 4.1. Special Retrieval Elements
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:
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
The special
Also, Zebra internal metadata about the record can be accessed:
Z> f @attr 1=title my
Z> format xml
Z> elements zebra::meta::sysno
Z> s 1+1
displays in
Z> f @attr 1=title my
Z> format xml
Z> elements zebra::meta
Z> s 1+1
displays all available metadata on the record. These include sytem number, database name, indexed filename, filter used for indexing, score and static ranking information and finally bytesize of record. Sometimes, it is very hard to figure out what exactly has been indexed how and in which indexes. Using the indexing stylesheet of the Alvis filter, one can at least see which portion of the record went into which index, but a similar aid does not exist for all other indexing filters.
The special
Z> f @attr 1=title my
Z> format sutrs
Z> elements zebra::index
Z> s 1+1
will display all indexed tokens from all indexed fields of the
first record, and it will display in
Z> f @attr 1=title my
Z> format xml
Z> elements zebra::index::title
Z> s 1+1
Z> elements zebra::index::title:p
Z> s 1+1
displays in Note
Trying to access numeric |
||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||
| Copyright Index Data ApS 2008 | |||||||||||||||||||||||||||||||