Configuring system properties for search functions

Complete the tasks described in this section to enable and configure the search functions in Control Desk.

Configuring system properties

About this task

You can optionally change one or more system properties within Control Desk to modify the default setup for the search functions, as described in the following table.
System property Description Default setting
LUCENEOBJINDEX Specifies the location of the Lucene index files <websphere_install> /profiles/Custom01/objectsearchindex
ATTEXT Specifies the supported text file types for attachment searches .doc, .txt, .html, .xml
PmObjSearchCron.maxFileLength Sets the maximum size of attached text files that will be indexed 1 MB
mxe.doclink.maxfilesize Sets the maximum size of files that a user can attach to a record 0 MB

The 0 MB setting allows an unlimited size for attachments. However, it is suggestion that you set this property to a maximum limit (such as 1000 MB), depending on the memory available to the application.

search.properties Used to customize the fields for indexing, increasing or decreasing the fields. This narrows or widens the fields of the search and can increase the results.  

where <websphere_install> is the location where the WebSphere® application server is installed.

Complete the following procedure to change a system property:

Procedure

  1. Log on to Control Desk as an administrator with authority to perform system configuration tasks.
  2. From the Go To iconGo To menu on the Navigation Toolbar, select System Configuration > Platform Configuration > System Properties.
  3. On the System Properties window, search for the system property that you want to modify.

    To search, open the Filter and type the property name in the filter field in the Property Name column. Then press Enter.

  4. Click View Details View Details icon next to the property name to display the Global Properties Details section of the window.
  5. Enter the new setting in the Global Value field:
    • For the LUCENEOBJINDEX property, enter the full directory path of the new location for the Lucene index files.
    • For the ATTEXT property, enter the file types to be supported by attachment searches as a comma-separated list. For example, enter .properties, .txt, .html.
      Note: If you specify file types other than text-based files, the files are indexed but not searched. The attachment search works only on text files. Non-text file types, such as audio and video files, .ppt files, or .xls files, are not supported.
    • For the PmObjSearchCron.maxFileLength property, enter the maximum size of attached text files that you want to be indexed. If this property is not set, only files less than or equal to 1 MB in size will be indexed.
    • For the mxe.doclink.maxfilesize property, set the maximum size of files that a user can attach to a record.
  6. From the Select Action menu on the application toolbar, select Live Refresh.
  7. Click OK on the Live Refresh dialog.

    The new property value is displayed in both the Global Value and Current® Value fields.

What to do next

The new property setting is now in effect. Repeat this procedure to change additional property values.

Managing index files

About this task

Use this procedure to rebuild the index created by the PmObjSearch cron task.

To force the index to rebuild, delete srm.properties file. This file is located in the following directory:

x:\Program Files\IBM\WebSphere\AppServer\profiles\ctgAppSrv01\objsearchindex_EN

If this directory does not exist, check the path specified by the LUCENEOBJINDEX property.



Feedback