DREADD/FlattenIndexFields
Type

String

Default

 

Description

Allows you to specify the fields in a hierarchically structured document whose content you want to index as one level.

If you want to specify multiple fields you must separate them with commas (there must be no space before or after a comma). You can use wildcards.

When identifying fields you should use the format /FieldName to match root-level fields, */FieldName to match all fields except root-level or /Path/FieldName to match fields that the specified path points to. If you just specify the field name, IDOL server automatically adds a */ to it.

Example

<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 FlattenIndexFields=*/subject, and index the above, any content that a subject field or a field within a subject field comprises is indexed as this subject field's content.

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.