Search fails on long descriptions

  • 7005340
  • 12-Feb-2010
  • 27-Apr-2012


Novell Teaming 2


Teaming entries which contain a very long description are not indexed correctly. When searching for a word in the description that occurs late in the entry, the search will fail to find the entry.


  1. Locate the directory in which Teaming is installed. By default,

    in Linux this will be /opt/novell/teaming/
    in Windows this will be C:\Program Files\Novell\Teaming\

    If it is different from those locations, a system administrator will need to ascertain where Teaming was installed. The remaining steps are then performed relative to the teaming install directory. 
  2. Locate the file apache-tomcat-6.0.18/webapps/ssf/WEB-INF/classes/config/ relative to the teaming directory.
  3. Add this line at the end of the file:
  4. Stop and restart Teaming:
    In Linux, as root, execute these commands:
    /etc/init.d/teaming stop
    /etc/init.d/teaming start

    In Windows, execute these commands from a command prompt window:
    C:\Program Files\Novell\Teaming\apache-tomcat-6.0.18\bin\shutdown.bat
    C:\Program Files\Novell\Teaming\apache-tomcat-6.0.18\bin\startup.bat
  5. Once Teaming has restarted, log in to Teaming as an administrator and go to Manage / Site Administration / Manage the Search Index, check off the box for the Home Workspace, and click OK to re-index the site.


Reported to Engineering

Additional Information

Root Cause:
Teaming imposes a size limit on the number of characters in a single field which are indexed. This restriction is to enhance performance of the search process. However, the limit also causes long fields (such as the description field) to be indexed only partially. The trailing section of a very long field will not be indexed and any words contained at the end of a very long single field will not show up as a search result.

The fix shown here raises the size limit of for which indexing will be performed. It can be adjusted as needed if larger fields occur and are still not being indexed, but care should be taken in making this limit too large, since performance may be affected.

The file referenced in the corrective steps section is relative to the location where Teaming has been installed. The example path is correct for default installations. If the installation location has been changed, the base portion of this path should be modified accordingly in order to locate the file.