Open topic with navigation

# WeightFields

The name of the document field that contains the values that you want to use as the weight.

When your input data is in JSON format, use the JSON field name in `WeightFields`. When your input data comes from IDX format (for example, through CFS or a conversion script), use the following conventions for specifying your field names:

- For fields specified in IDX in the format `#DREFIELD fieldname="value"`, set `WeightFields` to `fieldname`.
- For special fields in IDX, such as `#DREREFERENCE` and `#DRETITLE`, set `Weightfield` to the special value, for example `DREREFERENCE`.

Set this parameter in the `[Edges]` section to define a weight field for all your documents and edge types. Set it in the individual edge type configuration sections to override the global weight field.

Note: If you set `WeightFields`, but have not set Weighting to `Field`, HPE Knowledge Graph logs an error message and exits.

Type: | String
Default: |
Required: | No
Configuration Section: | Edges or [`MyEdgeType`]
Example: | `WeightFields=WEIGHT`
See Also: |

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HP Autonomy Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm