# Index Data

(Available for the IDOL Content and IDOL Agentstore components, DIH, and IDOL Proxy.)

In the Index tab, you can use the wizard to submit data for IDOL Server to index. This is equivalent to sending the `DREADD` or `DREADDDATA` actions. For information about these actions, see the IDOL Server Reference.

To index data

1. On the Choose Data page, click an option to specify the data to index:

   - Text. Copy and paste the data directly into the text box. The data must be in either IDX or XML format. For more information about the IDX format, see the IDOL Server Administration Guide.
   - UTF-8 encoded local files. Click Choose files to browse and select IDX or XML files on your local disk.

   - Files on server. Type the file names of IDX or XML files that are visible to IDOL Server through the file system. To add more than one file, click + to add a new row. Click - to delete a row if you no longer need it.

     NOTE: If you add multiple files, IDOL Admin submits each file as a separate index command. All the other settings that you specify are the same for each file.

2. Click Next. The Choose Database page opens.
3. Choose the database that you want to index your data to. By default, IDOL Admin reads the destination database from the document, but you can click Select the database from the list, then click the arrow and choose the database that you want to index your data to from the list.
4. Click Next. The Kill Duplicates page opens.
5. (Optional) Specify how IDOL Server processes duplicate documents.

   1. Specify how IDOL Server identifies duplicate documents:

      Default | Uses the option specified for `KillDuplicates` in the `[Server]` section of the IDOL Server configuration file.
      None | IDOL Server allows duplicate documents in the data index and does not replace or delete the documents.
      Reference | If the document being indexed has the same `DREREFERENCE` field value as a document that already exists in IDOL Server, IDOL Server deletes the existing document and replaces it with the new document.
      % match | If the content of the document being indexed is more than `N` percent similar to the content of a document that already exists in the IDOL Server database, IDOL Server deletes the existing document and replaces it with the new document.
      Field Names | If the document being indexed contains a `FieldName` Reference field with the same value as the `FieldName` Reference field in a document that already exists in IDOL Server, IDOL Server deletes the existing document and replaces it with the new document.

   2. Specify how IDOL Server treats duplicate documents.

      Keep existing documents, instead of new ones, in case of conflict | If you selected Reference or Field Names for Where to look for duplicates, selecting this option discards the duplicate document and keeps the matching document that the data index already contains.
      Move to the database listed in this field: [enter database field] | Specifies the name of a field in duplicate documents that contains the name of the database that IDOL Server must move duplicate documents to.
      Or move to this database: [select database] | Specifies the database that IDOL Server moves duplicate documents to.

6. Click Next.

7. Click Next. The Summary page opens, displaying the action that will be sent to the server. The action is automatically constructed as you complete the wizard. It is shown for reference only; you cannot edit the action directly.

8. Select the priority for indexing, which determines how the action is queued, then click Index to send the action and index the data. After the data is sent to IDOL Server, you can click Sync to manually flush the index cache to disk, which makes the data searchable.

If you need to edit any of your settings, you can click Previous to move back through the pages of the wizard, or click Reset to clear all settings and start again from the beginning.

_FT_HTML5_bannerTitle.htm