Before you perform parametric searches, configure IDOL Server to recognize parametric fields.
Note: You must configure parametric field recognition before you index the data that you want to search.
Open the IDOL Server configuration file in a text editor.
In the [Server]
section, set the ParametricRefinement
parameter to True
. (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 IDOL Server, also set RegenerateParametricIndex
to True
. This parameter allows IDOL Server to generate the files that it requires to internally identify parametric fields on startup, so that you need only to restart IDOL Server 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 to True
. This property enables IDOL Server to recognize the associated PropertyFieldCSVs
fields as parametric fields. For example:
[Parametric] ParametricType=True
Save and close the configuration file. Restart IDOL Server for your changes to take effect. You can now index your data into IDOL Server.
|