Back to main page

Portable Document Repositories

Basic usage

The portable version of DocFetcher essentially allows you to carry around (and even redistribute) a fully indexed and fully searchable document repository. If you don't have the portable version yet, you can download it from the project website.

The portable version does not require any installation; just extract the contents of the archive into a folder of your choice. You can then start DocFetcher via the appropriate launcher for your operating system: DocFetcher.exe on Windows, DocFetcher.sh on Linux and the DocFetcher application bundle on Mac OS X. The only requirement is that a Java runtime, version 1.6 or newer, must be installed on the machine.

Relative paths: An important thing to pay attention to is that all indexes must be created with the relative paths setting turned on. Without this, DocFetcher will store absolute references to your files, so you will only be able to move DocFetcher and its indexes around, but not your files — at least not without breaking references. Here's an example to illustrate this:

The relative path basically tells DocFetcher that it can find some-document.txt by going up two levels from its current location and then down into the my-files folder. The absolute path on the other hand is a fixed reference and independent of DocFetcher's current location, so you can't move some-document.txt without breaking the reference (meaning DocFetcher won't be able to locate the file).

Note that DocFetcher can only attempt to store relative paths: Obviously, it can't do so if you put DocFetcher and your files on different volumes, e.g. DocFetcher in D:\DocFetcher and your files in E:\my-files.

Usability tips

Warnings