Configuring Top Query Search
Published 28 March 2024
Top Query Search can now be configured to store its index files in a location other than the default of %ProgramData%\Red Gate\Redgate Monitor\SearchEngine
Step-by-step guide
- Create the new folder you would like to use.
- Ensure that you have granted access to the folder you would like to use to the service account running the base monitor service. - Additional note for high availability - In the case of a high availability install of the Redgate Monitor base monitor service, we would advise using a file share that can be seen from both active and passive nodes for this. 
- Open the folder %ProgramData%\Red Gate\Redgate Monitor\SearchEngine on the system running the base monitor.
- Stop your base monitor service.
- Move the contents of %ProgramData%\Red Gate\Redgate Monitor\SearchEngine to your new folder.
- Run the below query on your Redgate Monitor repository database, replacing - <Your new path here>with the new folder you created above.- INSERT INTO settings.KeyValuePairs (KeyName, KeyValue, KeyValueType) VALUES ( N'SearchIndexPath', N'<Your new path here>', N'STRING' )
- Start your base monitor service again.