Content Component 25.4
Content Component Help

# FieldStats

Set `FieldStats` to `True` to return statistics in the attributes for the fields that return.

This parameter has an effect only if you have enabled CollectFieldStatistics in your index, and if statistics data is available.

When your Content component index contains field statistics data, setting this parameter to `True` returns information about the occurrences of structured field and value pairs, and how they characterize the selected documents. The field statistics information returns in the `<autn:structured>` section of the XML response. For example:

    <autn:structured>
       <autn:number_of_field_values>16</autn:number_of_field_values>
       <autn:field_value field="DOCUMENT/COLOUR" apcm_weight="254" document_occurrences="1" total_occurrences="1" fieldtype="3">blue</autn:field_value>
       <autn:field_value field="DOCUMENT/COUNTRY" apcm_weight="254" document_occurrences="1" total_occurrences="1" fieldtype="3">Germany</autn:field_value>
       <autn:field_value field="DOCUMENT/DEALER" apcm_weight="254" document_occurrences="1" total_occurrences="1" fieldtype="3">Hertz</autn:field_value>
    ...
    </autn:structured>

Actions: | TermGetBest
Type: | Boolean
Default: | False
Example: | `FieldStats=True`
See Also: | CollectFieldStatistics configuration parameter

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Content Component 25.4

Topic Title: FieldStats