What Is DocFetcher and How Do You Search Local File Contents with It?
Updated
DocFetcher is an open-source desktop search application that indexes the contents of files on your computer so you can search them like a local Google. It runs on Windows, Linux, and macOS under the Eclipse Public License. Use it when you need to find text inside documents — not just filenames — and you're willing to spend a one-time indexing pass per folder to get millisecond-level search afterward. If you only need to search filenames, or you need multi-user access, a different tool fits better (see the last section).
How DocFetcher works: indexes, not live scanning
DocFetcher doesn't read every file each time you search. Instead, it builds an index for each folder you want to search. The index records which files contain which words, so a query resolves in milliseconds rather than scanning your disk.
Two consequences follow from this design:
- You must create an index before searching a folder. A folder that isn't indexed won't return content matches.
- Indexing is a one-time cost per folder. After the initial build, updating the index when files change is much faster — usually a few seconds.
The homepage gives a rough throughput estimate of 200 files per minute for the initial indexing, so a folder of 10,000 files is roughly a 50-minute job the first time. Plan the initial index for a quiet moment; later updates are cheap.
Setting up an index
- Open the index-creation dialog from the main interface.
- Point it at the folder (or folders) you want searchable.
- Click Run at the bottom right of the dialog to start indexing.
- Wait for the process to finish. Progress depends on the number and size of files.
Once the index exists, you don't repeat this step for that folder — you only refresh it after the contents change.
Running a search
The main window is organized around three panes and a set of filters:
| Element | What it does |
|---|---|
| Query field | Where you type your search terms |
| Result pane | Lists the files that match |
| Preview pane | Shows a text-only preview of the selected file, with all matches highlighted in yellow |
| Size filter | Limits results by minimum and/or maximum file size |
| Type filter | Limits results by file type |
| Location filter | Limits results by location |
The practical workflow: type a query, scan the result pane, click a result to read the preview with matches highlighted, then narrow with the size, type, or location filters if the result set is too broad. Buttons on the interface open the manual, open preferences, and minimize the program to the system tray.
Portable versions and a movable document repository
Portable builds exist for Windows, Linux, and macOS. They let you build a portable document repository: a fully indexed, fully searchable collection of your documents that you can move freely. According to the project, you can carry it on a USB drive, package it for archival, place it in an encrypted volume, or synchronize it between computers via a cloud drive.
This is the feature to care about if your documents travel with you or need to live in one self-contained, searchable bundle rather than on a single machine's fixed folder structure.
When to look beyond the base version
The same page points to two commercial siblings:
- DocFetcher Pro — described as the commercial "big brother" with more features.
- DocFetcher Server — described as the commercial "cousin" with multi-user support and a web interface.
Choose the open-source DocFetcher when you're a single user searching local folders and the feature set above covers your needs. Consider Pro if you want more features than the free version provides, and Server if several people need to search the same index through a browser rather than a desktop app. The homepage doesn't list prices for either commercial product, so check the linked pages for current terms before deciding.