The setmasterpropertyfromfile command enables the
full-text search feature.
Synopsis
- installutil setmasterpropertyfromfile dbset_name [ -user_db_name user_db_name] cq_user
cq_password master_property file [ -allsites | -site site_name ]
[ -remove ]
Description
After you have configured the
full-text search feature by using the cqtssetup and cqtsdbcrawler commands,
use the setmasterpropertyfromfile command to enable the feature.
The full-text search feature remains enabled until you disable it.
Arguments and options
- dbset_name
- The name of the database set.
- -user_db_name user_db_name
- Specifies the user database to which the property applies. Default:
the property applies to all user databases.
- cq_user
- The identity that is used to access the database set.
- cq_password
- The password that is associated with cq_user.
- master_property
- Specifies the name of the master property to set. In this context,
it is the full-text search property, TEXT_SEARCH_PROPERTY.
- file
- The full-text search XML file that is generated by the cqtssetup -o CQ command.
- -allsites
- Specifies that all (MultiSite) sites use the same search property
file.
- -site site_name
- Specifies that the search property file is used at the specified
site.
- -remove
- Specifies that the reference to the search property file will
be deleted from the ClearQuest master property, disabling the full-text
search feature.
Examples
Assuming that you are using the
default database set and a nonreplicated ClearQuest database, enable
the full-text search feature by specifying the master property TEXT_SEARCH_PROPERTY
and the search file CQ_TextSearch.xml:
installutil setmasterpropertyfromfile "" -user_db_name DB1 bert "" TEXT_SEARCH_PROPERTY CQ_TextSearch.xml
Enable
the full-text search feature at the site "Lexington," specifying the
database set
Demo, the master property TEXT_SEARCH_PROPERTY,
and the search file CQ_TextSearch.xml :
installutil setmasterpropertyfromfile Demo -user_db_name DB1 bert "" TEXT_SEARCH_PROPERTY CQ_TextSearch.xml -site Lexington
Disable
full-text search:
installutil setmasterpropertyfromfile Demo -user_db_name DB1 bert "" TEXT_SEARCH_PROPERTY CQ_TextSearch.xml -remove
Disable
full-text search at all (MultiSite) sites:
installutil setmasterpropertyfromfile Demo -user_db_name DB1 bert "" TEXT_SEARCH_PROPERTY CQ_TextSearch.xml -allsites -remove