Open topic with navigation

# Change Document Metadata

Send a `DRECHANGEMETA` index action (case sensitive) from your Web browser to change the metadata (index date, expire date, or database) of documents. You can identify individual documents or document ranges by their references or IDs. (You can specify ranges only with IDs.)

    http://IDOLhost:indexPort/DRECHANGEMETA?Type=type&Refs=docReferences&Docs=docIDs&NewValue=value

where:

`IDOLhost` | is the IP address or host name of the machine on which IDOL Server is installed.
`indexPort` | is the IDOL Server index port (specified as `IndexPort` in the `[Server]` section of the IDOL Server configuration file).
`type` | is the type of metadata whose value you are changing: `date`. The index date to assign to the documents. The date you specify must be in a format that you set for `DateFormatCSVs` in the IDOL Server configuration file. `expiredate`. The expire date to assign to the documents. The date you specify must be in a format that you set for `DateFormatCSVs` in the IDOL Server configuration file. `database`. The database to move the documents to.
`docReferences` | is a list of (percent-encoded) references to the documents whose metadata is to change. If the references contain plus symbols (+) or spaces, percent-encode each reference, then separate multiple references with plus symbols (there must be no space before or after a plus symbol) and percent-encode the whole string again (using Internet Explorer or the ACI client).
`docIDs` | is one or more individual document IDs or a ranges of document IDs for the documents whose metadata is to change. Use one or a combination of the following formats: `docID`. Specify the IDs of one or more documents. To specify multiple document IDs, separate them with plus symbols (there must be no space before or after a plus symbol). `range=[min_docID,max_docID]`. Enter the document ID of the first and last document in a range of documents. To combine the formats, separate them with plus symbols (there must be no space before or after a plus symbol).
`value` | is the new metadata value to write into all the specified documents.

For example:

    http://12.3.4.56:20001/DRECHANGEMETA?Type=database&Docs=3+5+range=[7,10]&NewValue=Archive

This action uses port `20001` to reassign the documents with the IDs `3`, `5`, `7`, `8`, `9`, and `10` to the `Archive` database. IDOL Server is located on a machine with the IP address `12.3.4.56`.

Note: By default, when you set the `Refs` parameter, IDOL Server searches all document references for the specified value. If your documents have multiple reference fields, and you want to search only one field name, set the `Field` parameter to the name of the reference field that you want to search.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! 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. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm