Open topic with navigation

# Index Fields

Store fields that contain text which you want to query frequently as Index fields. Index fields are processed linguistically when they are stored in HPE IDOL Server. This means that stemming and stop word lists are applied to text in Index fields before they are stored, which allows HPE IDOL Server to process queries for these fields more quickly. Typically `DRETITLE` and `DRECONTENT` are fields that are set up as Index fields.

Do not use the Index field type for fields that contain:

- URLs or content that you are unlikely to use.
- content that you query frequently, but whose values you query only in their entirety. It is more efficient to use field specifiers (for example, `MATCH`) to query these values.
- numeric values or dates as Index fields. Instead, store these fields as numeric fields and numeric date type fields.

Related Topics

- NumericType Fields

- NumericDateType Fields

To set up Index fields

1. Open the HPE IDOL Server configuration file in a text editor.

2. List an indexing process in the `[FieldProcessing]` section. For example:

       [FieldProcessing]
       0=MyFirstProcess
       1=MySecondProcess
       2=IndexingFields

3. Create a section for the indexing process, and in each section, 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.

   You can use the `PropertyMatch` parameter to identify a specific value that fields must have to be processed.

   Note: The properties that you create must not have the same name as the processes.

   For example:

       [MyFirstProcess]
       Property=MyFirstProperty
       PropertyFieldCSVs=*/MyField,*/MySecondField
       PropertyMatch=*myString*

       [MySecondProcess]
       Property=MySecondProperty
       PropertyFieldCSVs=*/MyOtherField,*/MyOtherSecondField

       [IndexingFields]
       Property=IndexFields
       PropertyFieldCSVs=*/DRECONTENT,*/DRETITLE

4. Create a section for your indexing property in which you set the `Index` parameter to `True`. For example:

       [MyFirstProperty]
       HiddenType=True

       [MySecondProperty]
       Index=True

       [IndexFields]
       Index=True

5. Save and close the configuration file. Restart HPE IDOL Server for your changes to take effect.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm