Default language.

Important This documentation space contains information about the on-premises version of BMC Helix Discovery. If you are using the SaaS version of BMC Helix Discovery, see BMC Helix Discovery (SaaS).

Reindexing the datastore


Occasionally you might be asked by Customer Support to reindex the datastore. For example, the index remembers every attribute name each node kind has ever had, and uses that to provide the list of attributes in the query builder. If you previously had a custom pattern that set a particular attribute name, but the pattern has been removed and there are no longer any nodes with that attribute, the attribute name will still appear in the query builder. A reindex rebuilds the list of attributes used in the node kind, and so removes them from the query builder.

If you do reindex, you must do it on all the cluster members, because each member separately maintains an index of the nodes stored on that member. 

To reindex the datastore

To cause a reindex, you create an empty marker file, and restart the services. As the tideway user, enter the following:

[tideway@appliance01 ~]$ touch /usr/tideway/var/.ds_reindex_request
[tideway@appliance01 ~]$ tw_service_control --restart

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*