Configuring Search for TFS in a multi- Application Tier setup

There has been some uncertainty around how to configure Search in a multi-tier AT setup. This has been already documented over here: https://docs.microsoft.com/en-us/vsts/search/code/administration#config-tfs To quote from the documentation – “When configuring Search for a TFS server with multiple application tiers (ATs), make sure Search is installed on a separate server. After Search is installed on the remote server,…

0

Mitigating Shard corruption in Elasticsearch

Recently while troubleshooting one of the customer issues for Search in Team Foundation Server, we observed that the Elasticsearch (ES) cluster was consistently going into RED state even on a clean new install and start. The ES version that is packaged with TFS 2017 Update 2 is 2.4.1. (Note that it’s a customized version with some…

0

Monitoring Search Indexing Progress and Completion in Team Foundation Server

Search indexing time can vary depending on the Code and Work Item volume under the Collection. In another post here, I had briefly explained the 2 different types of indexing that happens. Bulk Indexing (BI), where the entire code and work item artifacts in all projects/repositories under a Collection are indexed. This is a time…

0

Resetting Search Index in Team Foundation Server

Search indexing (Code and Work Item) works in 2 phases: Bulk Indexing (BI) where the entire code and work item artifacts in all projects/repositories under a Collection are indexed. This is a time consuming operation and depends on the size of the artifacts under the collection. Continuous Indexing (CI) which handles all incremental updates to…

0

Resolving Code Search failure in TFS 2017 Update 2 due to large HTTP url

Please refer to the parent post here for context: https://blogs.msdn.microsoft.com/tapas_sahoos_blog/2017/09/11/analyzing-search-in-microsoft-team-foundation-server/ Code Search in Team Foundation Server (TFS) 2017 Update 2 has a known issue wherein you could encounter Search query failure on collections having large number of repositories (in the order of more than 100). The issue was traced to a HTTP url of the Elasticsearch…

0

Fixing incorrect mapping/aliases for Search Index in Team Foundation Server

Please refer to the parent post here for context: https://blogs.msdn.microsoft.com/tapas_sahoos_blog/2017/09/11/analyzing-search-in-microsoft-team-foundation-server/ In certain scenarios, especially if you have done some manual updates around the Search index data folder, deleted the data, tried to re-index through scripts and/or done any of the above post an upgrade, chances are if the sequence of steps aren’t accurate (I will cover…

0

Analyzing high CPU usage in Application Tier during Search Indexing

Please refer to the parent post here for context: https://blogs.msdn.microsoft.com/tapas_sahoos_blog/2017/09/11/analyzing-search-in-microsoft-team-foundation-server/ Search indexer jobs internally go through Crawl, Parse and Feed phases to index TFS artifacts (Code and Work Item). The Parser phase is typically CPU intensive. Also, disk I/Os for internal object store manipulations for the artifacts could contribute to good portion of CPU cycles. However,…

0

Analyzing Search in Microsoft Team Foundation Server

Search has been part of Visual Studio Team Services (VSTS) for quite some time now. Code Search was first introduced for On-Premises in Microsoft Team Foundation Server 2017 (TFS 2017). It was followed up with the support for Work Item Search in TFS 2017 Update 2. You can check the official blog post and release…

0

Few tips on implementing a Coded UI Test Plugin Extension

This blog assumes that you have a prior understanding of Coded UI Test extensibility. If not, a good starting point would be here. Also check out additional links in the “Extending Coded UI Test” section available here. In this post, I’ll enumerate a few points you would need to watch out for while implementing an…

0

Significance of Window Titles in Coded UI Test Playback

The control search in Coded UI Test playback is essentially a breadth first search. For extension plugins that have in-built search capability, the plugin writer can implement its own search logic. What typically remains the same is the way the search is done for the top level window of the application. Consider a top level…

1