TeamCity On-Premises 2021.1 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 a search index locally, in the Data Directory. 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: 20 May 2021