Configure the IDOL Content component for Parametric Fields
Before you perform parametric searches, configure the IDOL Content component to recognize parametric fields.
NOTE: You must configure parametric field recognition before you index the data that you want to search.
-
Open the IDOL Content component configuration file in a text editor.
-
In the
[Server]
section, set theParametricRefinement
parameter toTrue
. (If the section does not contain this parameter, add it.)NOTE: If you want to define parametric fields or add extra parametric fields, but have already indexed content into the IDOL Content component, also set
RegenerateParametricIndex
toTrue
. This parameter allows Content to generate the files that it requires to internally identify parametric fields on startup, so that you need only to restart Content to use parametric fields, rather than having to reindex all your data.You can also use the
DREREGENERATE
index action to regenerate the parametric index while the server is running. -
List a parametric field process in the
[FieldProcessing]
section.For example:
[FieldProcessing] 0=MyFirstProcess 1=ParametricFields
-
Create a section for each field process that you listed, in which you create a property for the process (you define the property later by setting one or more applicable configuration parameters). Identify the fields that you want to associate with the process. For example:
[MyFirstProcess] Property=MyProperty PropertyFieldCSVs=*/MyField,*/MyOtherField [ParametricFields] Property=Parametric PropertyFieldCSVs=*/Grape,*/Color,*/Region,*/Price
NOTE: The properties that you create must not have the same name as the processes.
-
Create a section for the parametric property in which you set the
ParametricType
parameter toTrue
. This property enables Content to recognize the associatedPropertyFieldCSVs
fields as parametric fields. For example:[Parametric] ParametricType=True
-
Save and close the configuration file.
-
Restart the IDOL Content component for your changes to take effect.
You can now index your data into IDOL Server.