You can configure the IDOL Content component to use a field in each document to determine the database into which it indexes the document.
Open the IDOL Content component configuration file in a text editor.
In the [FieldProcessing]
section, list a process that identifies database fields.
For example:
[FieldProcessing] 0=MyFirstProcess 1=MySecondProcess 2=DatabaseFields
Create a section for the database field identifying process. For example:
[DatabaseFields]
Create a property for the process (you define the property later, by using one or more applicable configuration parameters). Identify the fields that you want to associate with the process.
Optionally, use the PropertyMatch
parameter to identify a specific value that fields must have to be processed.
NOTE: The property that you create must not have the same name as the process.
For example:
[MyFirstProcess] Property=MyFirstProperty PropertyFieldCSVs=*/MyField,*/MySecondField PropertyMatch=*myString* [MySecondProcess] Property=MySecondProperty PropertyFieldCSVs=*/MyOtherField,*/MyOtherSecondField [DatabaseFields] Property=Database PropertyFieldCSVs=*/DREDBNAME,*/DB,*/Database
Create a section for your indexing property and set the DatabaseType
parameter to True
.
For example:
[MyFirstProperty] HiddenType=True [MySecondProperty] Index=True [Database] DatabaseType=True
Save and close the configuration file.
Restart the IDOL Content component for your changes to take effect.