You can optimize a database to permanently remove tracks labeled for deletion, and to optimize lookup functions.
Note: This step is applicable only if you are using the landmark audio fingerprinting approach. It is not supported when running the template-based approach.
To optimize an AFP database
Send an AddTask
action to HPE IDOL Speech Server, and set the following parameters:
Type
|
The task type. Set to AfpDatabaseOptimize . |
To optimize a database that is defined in the HPE IDOL Speech Server tasks configuration file, you must set the AfpDb
parameter. If the database is not defined, set both the Pack
and PackDir
parameters instead.
AfpDb
|
The name of a database that is defined in the tasks configuration file. |
Pack
|
The name of a database that is not defined in the tasks configuration file. |
PackDir
|
The path to the directory that contains the database files. |
For example:
http://localhost:13000/action=AddTask&Type=AfpDatabaseOptimize&Pack=Adverts&PackDir=C:\resources
This action uses port 13000
to instruct HPE IDOL Speech Server, which is located on the local machine, to optimize the Adverts
database that is located in C:\resources
.
This action returns a token. You can use the token to check the task status. See Check the Status of a Task.
|