Open topic with navigation
The fields in a hierarchically structured document whose content you want to index as one level.
Separate multiple fields with commas. There must be no space before or after a comma. You can use wildcards.
When identifying fields use the formats:
/FieldName to match root-level fields
*/FieldName to match all fields except root-level
/Path/FieldName to match fields that the specified path points to.
If you specify only the field name, DIH automatically adds a
*/ to it.
<documents> <article id="_21498602"> <url>http://example.com/21490.html</url> <hltext_display>The history of pharmacogenetics </hltext_display> <source>Science Online</source> <media_type>text</media_type> <subject> <text>The prologue to pharmacogenetics began to play out around 1850 and spanned some 60 years into the 1900s.</text> <text>In 1953, the molecular basis of heredity, the double helix of DNA, was described.</text> </subject> <valid_time>Jul 13 2001 5:00AM</valid_time> </article> </documents>
If you specify
If you now query for a particular term in the subject field that is actually contained in a level below the subject field, for example the term pharmacogenetics, the above text is returned. If you had not flattened the subject field the query would fail, as the subject field itself does not contain this term.