Configuring Indexed Search

You must configure indexed search mode. The default mode as installed is real-time search.


Before you begin: Set the Exalead server path in the config.xml file by replacing localhost with the name/IP address of the server where the Exalead server is installed and running: <SERVER host="localhost" baseport="19000"/>
  1. Open the config.xml file.

    By default, the config.xml file is located in SERVER_INSTALL\Apps\BusinessProcessServices\VERSION\Modules\ENOFramework\AppInstall\Programs.

  2. To enable indexing in the relevant apps, follow these steps:
    1. Add or edit these lines:

      <APPLICATION name="FTR" active="false"/>
      <APPLICATION name="ENG" active="false"/>
      <APPLICATION name="ECH" active="false"/>
      <APPLICATION name="CFP" active="false"/>
      

    2. Set the value for this property for each app to true.
  3. To enable index mode for logical features, follow these steps:
    1. Locate the entries where the FIELD name value is LOGICAL_FEATURE_ID:

      <FIELD name="LOGICAL_FEATURE_ID" select="to[LOGICAL STRUCTURES].from.id" type="STRING" hidden="true"/>
       
      <!--<FIELD name="LOGICAL_FEATURE_ID" select="program[LogicalFeature -method getSelecatableVal '${OBJECTID}' 
      'to[LOGICAL STRUCTURES].from.id' ]" type="STRING" hidden="true"/> -->

    2. Remove the comment markup from the second entry (the <!-- at the beginning of the entry and the --> at the end of the entry) and place them around the first entry.

      The resulting entries should look like this:

      <!--<FIELD name="LOGICAL_FEATURE_ID" select="to[LOGICAL STRUCTURES].from.id" type="STRING" hidden="true"/> -->
       
      <FIELD name="LOGICAL_FEATURE_ID" select="program[LogicalFeature -method getSelecatableVal '${OBJECTID}' 
      'to[LOGICAL STRUCTURES].from.id' ]" type="STRING" hidden="true"/>
      

  4. Repeat step 3 for each of the following object types (object type followed by its FIELD name value):
    • Configuration features: CONFIG_FEATURE_ID
    • Parent configuration features: PARENT_CONFIGURATION_FEATURE
    • Common Group ID: COMMON_GROUP_ID
    • Configuration options: CONFIGURATION_OPTIONS
    • Logical features: PRODUCTLINE_PRODUCTS_LOGICAL_FEATURES_ID
    • Parent product line: PARENT_PRODUCTLINE
    • Parent product: PARENT_PRODUCT
  5. Set the config.xml file for search index.
  6. Index the database.

Indexed searching is configured and available.