Alexey Soloviev
Alexey Soloviev

Reputation: 127

TFS 2017 workitem search indexing issue

We are using TFS 2017 update 3 (15.117.27024.0) with elasticsearch 2.4.1

Problem: Trying to find a workitem by word/phrase:

"execution": found 398 results
"execution policy": found 10 results
"One or more hosts are not enabled by filter": "indexing your account data" message.
"enabled by filter":"indexing your account data" message.
"enabled by": 22 results

What have we tried: we reconfigured search by deleting search feature, deleting elasticsearch service and deleting cache.

What is the problem? According to logs tfs does not indexing new items.

So is there any wayto fix this problem?

Upvotes: 1

Views: 656

Answers (1)

Andy Li-MSFT
Andy Li-MSFT

Reputation: 30372

For TFS 2017 on-premises, Code Search includes Elasticsearch and will be configured on a server running TFS 2017. Work Item Search is now also relying on this functionality.

So, firstly make sure the elasticsearch service is running on the server where Search is configured. Then try to uninstall the Code search extension and install it again from local extensions gallery, then check if that works.

If that still not work, then you can try Resetting Search Index

Refer to below articles for more information on Search Indexing:

Upvotes: 1

Related Questions