Enable the update-mode record extractor to provide
continuous ClearQuest record updates to the Lucene index.
The update-mode record extractor, which runs under WebSphere Application
Server, provides continuous ClearQuest record updates to the Lucene index.
As new ClearQuest records are added, modified, or deleted, the record extractor
sends these records to Solr for Lucene to index.
The following variable
is used in path names in this topic:
- RATIONAL_COMMON
- Directory where Rational common files are installed
By default, the update-mode record extractor is disabled when it
is installed under WebSphere Application Server. To enable the update-mode
record extractor, perform the following steps:
- Edit the file web.xml, which is located in the
following directory:
- On Windows:
- %RATIONAL_COMMON%\CM\profiles\cmsearchprofile\config\cells\WebSphereAppServer-cell\applications\cqtsdbcrawler.ear\deployments\cqtsdbcrawler\cqtsdbcrawler.war\WEB-INF\
- On the UNIX system and Linux:
- $RATIONAL_COMMON/CM/profiles/cmsearchprofile/config/cells/WebSphereAppServer-cell/applications/cqtsdbcrawler.ear/deployments/cqtsdbcrawler/cqtsdbcrawler.war/WEB-INF/
- Locate the section <param-name>config</param-name> and
change its value to specify the fully qualified path specification and name
of your ClearQuest search properties file, . For example, <param-name>D:/CQ.Solr/MySchema/Solr/CQ-MySchema-MyDB.xml</param-name>
- Locate the section <param-name>sitename</param-name> and
change its value to <param-name><local></param-name>.
If you are not running ClearQuest MultiSite, <local> is
the encoded string value of <local>. If you are running
ClearQuest MultiSite, <local> is the site name
for which you are enabling the ClearQuest full-text search feature.
- Locate and uncomment the following line:
<load-on-startup>1</load-on-startup>
- Restart the WebSphere Application Server profile cqsearchprofile to
effect these changes. See the WebSphere Application Server Information Center for
details.