# Use DREADDDATA to Index Data Over a Socket

The `DREADDDATA` index action (case sensitive) allows you to directly index data over a socket into the IDOL Content component.

NOTE: This index action requires a POST request method. For more information, refer to the IDOL Server Administration Guide.

For example:

    http://ContentHost:indexPort/DREADDDATA?OptionalParamsData#DREENDDATAKillDuplicatesOption\n\n

where,

`ContentHost` | is the IP address or host name of the machine on which the IDOL Content component is installed.
`indexPort` | is the indexing port of the IDOL Content component (specified in the `IndexPort` parameter in the `[Server]` section of the IDOL Content component configuration file.
`optionalParams` | are any optional index action parameters. `DREADDDATA` accepts the same optional parameters as the `DREADD` index action, except for `KillDuplicatesOption`.
`Data` | is the content of the IDX or XML document to index. You must add `#DREENDDATA` to the end of your data. You can use gzipped documents, but `#DREENDDATA` must not be compressed. This parameter is required.
`KillDuplicatesOption` | is the option to use for removing duplicate documents.

For details of all the parameters available in the `DREADDDATA` index action, refer to the IDOL Server Reference.

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm