When I was trying to search through some the most latest checked in changes, I couldn't find them in the result set. The code search gives 22 founds only. While, I get a full set 38 founds using Notepad++ 'Find in Files'.
Then, I specifically searched the filename using TFS code search, which has the code I'm after.
It shows the file but with a note saying "You are viewing an older version of this file. Click on the filename link to open the latest version.". The searchable version doesn't have my latest changes, which do exist in the newer version of the file.
Do you know how long is the lag? Does is mean the code base needs to be re-indexed? Can we do it manually to make it search the latest code base?