X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Ffield-structure.xml;h=67619d28db6f469a050220102a2c1b50f7359f9c;hb=5f9da49ae7414fbb37d999a389c8d39fd057f5c2;hp=758542b3ed84da1979baa1dcd1e15f414324f872;hpb=7b25277add2aae5caabee02213911aeeb65030c8;p=idzebra-moved-to-github.git diff --git a/doc/field-structure.xml b/doc/field-structure.xml index 758542b..67619d2 100644 --- a/doc/field-structure.xml +++ b/doc/field-structure.xml @@ -1,5 +1,5 @@ - + Field Structure and Character Sets @@ -76,6 +76,27 @@ search containing space characters as a word proximity search. + + + firstinfield boolean + + + This directive enables or disables first-in-field indexing. + The value of the boolean should be 0 + (disable) or 1. + + + + + alwaysmatches boolean + + + This directive enables or disables alwaysmatches indexing. + The value of the boolean should be 0 + (disable) or 1. + + + charmap filename @@ -240,6 +261,45 @@ would both produce the same results. +
+ Field structure debugging using the special + <literal>zebra::index::</literal> element set + + At some time, 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. + + + Starting with Zebra version + 2.0.4-2 or newer, one has the possibility to + use the special + zebra::index:: element set name, which is only defined for + the SUTRS and XML record + formats. + + Z> f @attr 1=dc_all minutter + 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 SUTRS + record syntax, whereas + + Z> f @attr 1=dc_all minutter + Z> format xml + Z> elements zebra::index::dc_publisher + Z> s 1+1 + Z> elements zebra::index::dc_publisher:p + Z> s 1+1 + + displays in XML record syntax only the content + of the zebra string index dc_publisher, or + even only the type p phrase indexed part of it. + +