Search results are wrong or stale¶
The File Contents results in the global search bar come from an index built out of your analyzed code, not from scanning files live. The index is updated incrementally in the background as files change. If it becomes stale or corrupted, file-contents searches can return incomplete or wrong results even though the source is fine. The fix is to reset the index and let Understand rebuild it.
The index is per-project
Each project has its own file-contents search index, stored inside that project's local data (not a single global index). Resetting it affects only the currently open project.
Reset it from the GUI (recommended)¶
- Open Tools → Options… (on macOS, Understand → Settings/Preferences).
- Select the Windows page.
- Under File Contents Search Index:, click Reset.
Understand deletes the current index and rebuilds it in the background. The Reset button is disabled while the rebuild runs and re-enables when it finishes. The in-product tooltip states its purpose: “Reset the search index for the open project if instant search becomes unstable or results are incomplete.”
Rebuild happens automatically
You don't need to trigger a separate reindex — resetting queues an immediate background update for the open project.
Reset it on disk (if the GUI can't open)¶
If Understand won't open the project, delete the index folder while the project is closed. It lives in the project's local data directory:
| Project kind | Index location |
|---|---|
| Normal project | <YourProject>.und/local/index |
Portable project (no local folder in the .und) |
<settings dir>/Db/<project-hash>/index |
<settings dir> is the per-OS SciTools data directory:
%APPDATA%\SciTools → e.g. %APPDATA%\SciTools\Db\<hash>\index
~/Library/Application Support/SciTools
~/.config/SciTools
Reopen the project; the index rebuilds on next analysis/open.
Older instructions point at the wrong path
Some older notes say to delete ~/.config/SciTools/index (a single global folder). Current
Understand stores the index per project as shown above — use the Reset button, or the
paths in the table.