TeamCity On-Premises 2024.12 Help

Search Settings

You can change the search mode used on the server in the Builds Search section of the Root project's settings.

The Lucene search syntax, supported for both modes, is described in this article.

Local Search

By default, TeamCity stores the search index locally, in <TeamCity Data Directory>/system/caches. In the Builds Search section, you can control the indexing and see its statistics.

Elasticsearch

TeamCity provides an alternative search mode, based on Elasticsearch. The new mode has two advantages: (1) it saves disk space on the TeamCity server machine and (2) it is better for the TeamCity performance. It is especially effective for multinode installations, as nodes spend fewer resources on maintaining a single remote index than on multiple local indexes.

To connect to your Elastic host or cluster, enter its URL and credentials. You can also set a custom name for a TeamCity index.

After you save the new settings, TeamCity will spend some time reindexing entries. The exact duration depends on the size of your server. You can track or control the progress in the Diagnostics table.

Last modified: 03 November 2024