Establishing the location of the index

The first step in configuring Solr is to establish the location of the Lucene index.
The following variables are used in path names in this topic:
CLEARQUEST_HOME
Directory where Rational ClearQuest is installed
RATIONAL_COMMON
Directory where Rational common files are installed
WAS_BIN
WebSphere Application Server bin directory:
On Windows:
%RATIONAL_COMMON%\eWAS\bin
On the UNIX system and Linux:
$RATIONAL_COMMON/eWAS/bin
By default, when Solr is installed, a Lucene index is copied to the following location:
On Windows:
drive:\%CLEARQUEST_HOME%\CQ.Solr\
On the UNIX system and Linux:
$CLEARQUEST_HOME/CQ.Solr/

To establish the location of the index for your ClearQuest database, copy and rename the index by performing the following steps:

  1. Copy the directory CQ.Solr to a location outside the ClearQuest installation directory on the same computer on which ClearQuest full-text search is installed. Consider copying the CQ.Solr directory to a fast secondary hard drive that is dedicated to full-text search.
  2. Rename the directory CQ.Solr\SAMPL to correspond to the name of your ClearQuest schema. For example, if your schema is called MySchema, rename CQ.Solr\SAMPL to CQ.Solr\MySchema.
  3. Set the Java Virtual Machine (JVM) system property solr.solr.home to the new location of the Lucene index by running the wsadmin command-line utility:
    • On Windows:
      %WAS_BIN%\wsadmin.bat -conntype NONE -lang jython -profileName cqsearchprofile -f setSolrHome.py -interactive:yes drive:/CQ.Solr/yourSchemaName/Solr/solr
    • On the UNIX system and Linux:
      %WAS_BIN/wsadmin.sh -conntype NONE -lang jython -profileName cqsearchprofile -f setSolrHome.py -interactive:yes /CQ.Solr/yourSchemaName/Solr/solr

    At startup, Solr reads the value of solr.solr.home to locate its configuration files.

  4. Start Solr by starting cqsearchprofile, the WebSphere Application Server profile in which Solr resides. See the WebSphere Application Server Information Center for details.
    Attention: Anytime you change the value of solr.solr.home, you must restart cqsearchprofile.
Related concepts
Full-text search maintenance
Configuration for localized character sets
Related reference
cqtssetup.pl
cqtsdbcrawler.pl
setmasterpropertyfromfile
scruboplog

Feedback