setmasterpropertyfromfile

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 using the cqtssetup and cqtsdbcrawler commands, use the setmasterpropertyfromfile command 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_nameuser_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.
master_property
Specifies the name of the master property to set. In this context, it is the full-text search property (that is, 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 are to use the same search property file.
-site site_name
Specifies that the search property file is to be used at the specified (MultiSite) site.
-remove
Specifies that the reference to the search property file is to 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, specifying the master property, TEXT_SEARCH_PROPERTY and the search file, CQ_TextSearch.xml:
installutil setmasterpropertyfromfile "" 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 bert "" TEXT_SEARCH_PROPERTY CQ_TextSearch.xml -site Lexington
Disable full-text search:
installutil setmasterpropertyfromfile Demo bert "" TEXT_SEARCH_PROPERTY CQ_TextSearch.xml -remove
Disable full-text search at all (MultiSite) sites:
installutil setmasterpropertyfromfile Demo bert "" TEXT_SEARCH_PROPERTY CQ_TextSearch.xml -allsites -remove

See also

cqtsdbcrawler.pl, cqtssetup, installutil


Feedback