Open topic with navigation

# SyncImageHashes

Forces Media Server to synchronize its image hash training with the latest data in the database.

When you train Media Server, the database is updated with new training data. However, Media Server does not use this training in analysis operations until it has synchronized with the database.

TIP:

Media Server automatically synchronizes with the database. You can configure the interval between each synchronization using the configuration parameter SyncInterval. You can also configure whether Media Server synchronizes with the database before beginning an analysis operation, by setting the configuration parameter SyncDatabase.

You might use this action if you want to run analysis immediately after training. Media Server continues running `process` actions while synchronization takes place, so to ensure an image hash analysis task uses the latest training, run `SyncImageHashes` and wait for synchronization to complete before starting the task with the Process action.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name of the image hash database that you want Media Server to synchronize with. If you do not set this parameter, Media Server synchronizes with all image hash databases. | No

## Example

    /action=SyncImageHashes

## Response

    <autnresponse>
       <action>SYNCIMAGEHASHES</action>
       <response>SUCCESS</response>
       <responsedata></responsedata>
    </autnresponse>

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm