Configuring Search

ENOVIA Business Process Services provides two types of searches: basic and indexed. Basic is the default search installed with the ENOVIA Live Collaboration. Indexed search is an option that can be selected and installed with the ENOVIA Live Collaboration server.

In addition to these procedures, see emxSystem.properties for Search and Advanced Search for details on setting properties that control how basic and indexes (full-text) searches work.

This task shows you how to:

Use the config.xml File

The config.xml file contains information used by basic search and will require updates if basic search is customized using the System properties. Before you can use basic search, you must set the path to your config.xml file. The config.xml file is provided with the ENOVIA Business Process Services installation under the STAGING/ematrix directory.

Although the config.xml file path is initially set during installation, you may need to manually set the path at some point. Any changes you make to the file, whether for basic search or indexed search, require you to set the path again. The path is: ENOVIAHOME/Apps/BusinessProcessServices/VERSION/Modules/ENOFramework/ AppInstall/Programs. See the Live Collaboration BPS Installation Guide for more details.

Configure Indexed Search

You can configure the indexed search function.

Index your database of searchable information by following the instructions in "Configuring Advanced Search" in the Exalead Full Text Search Server Installation Guide. The fields entered in the emxSystem.properties file (see the step for the include fields property in emxSystem.properties for Search and Advanced Search) must correspond to the fields defined in config.xml (instructions in the referenced section of the Installation Guide).

If you edit the config.xml file on a running server, you must restart the server for changes to take effect.

Configure Basic [Real-Time] Search

You can configure real-time search for your system.

  1. Enable search for the applications in your installation:

    If your installation does not include any of the applications listed in the table in step 1c, you do not need to edit the config.xml file, but you do need to complete steps 2 and 3.

    1. Open the config.xml file for editing. See theExalead Full Text Server Installation Guide for details on this file.
    2. Locate these lines:

          <APPLICATION name="ENG" active="false"/>
          <APPLICATION name="LIB" active="false"/>
          <APPLICATION name="MFG" active="false"/>
          <APPLICATION name="FTR" active="false"/>
          <APPLICATION name="PRG" active="false"/>
          <APPLICATION name="APR" active="false"/>
          <APPLICATION name="HNP" active="false"/>
          <APPLICATION name="UEBOM" active="false"/>
          <APPLICATION name="DEC" active="false"/>

    3. For each application in your installation, change false to true. The abbreviations represent these applications:

      Abbreviation Application

      ENG

      Engineering Central

      LIB

      Library Central

      MFG

      X-BOM Manufacturing

      FTR

      ENOVIA Variant Configuration Central

      PRG

      Program Central

      APR

      Apparel Accelerator

      HNP

      High-Tech Accelerator for New Part Request and Development

      UEBOM

      Unresolved EBOM (module ofEngineering Central)

      DEC

      Designer Central

      The remainder of this file configures indexed search and is not used for basic (real-time) searches.

    4. Save the config.xml file.

      If you edit the config.xml file on a running server, you must restart the server for changes to take effect.

  2. Open an MQL window.

  3. Set the path to the config.xml file:

    set context user USERNAME
    verbose on
    set system searchindex file FILEPATH;

    Where USERNAME is the user name of the System Administrator setting the path and FILEPATH is the path and file name of config.xml file. For example:

    set system searchindex file LIVE_COLLABORATION_SERVER/ STAGING/
    ematrix/config.xml;

    The verbose command prints the file name on the screen.