Customizing Your InfoSearch Index Location


InfoSearch provides you with the ability to customize the location where your index data is saved. Typically, you would customize this location when using a Docker container, so that the index data is stored outside of the container and you can prevent the loss of any data. This feature is enabled through your WebFOCUS Client application server that is configured with your WebFOCUS environment. The following procedure outlines how to configure your index location using Tomcat.

Procedure: How to Configure Your Index Location

  1. From the Start menu, click Information Builders and then expand the Tomcat folder.
     
  2. Double-click the Tomcat Configuration Utility.
    The Apache Tomcat for WebFOCUS Properties dialog box opens.
     
  3. Click the Java tab.
     
  4. Type the following line in the Java Options section:

    -DIBI_Magnify_Infosearch_Index_Directory=\\host\dimdirectory

    where:

    host
    Is the name or IP address of the host used to access WebFOCUS.

    dimdirectory
    Is the location where the index will be saved.

    An example is shown in the following image.

    Java options tab


    Note: If this variable is not defined, the default location will be:
    ApplicationValues.getIBIInitParameter("IBI_DOCUMENT_ROOT") + '/' + "magnify" + '/' + "ibi-protected";
     
  5. Click OK.
     
  6. Recycle the applications server so that the changes take effect.
    Any index created from InfoSearch will not be read from this location.