beagle-build-index (8) - Linux Manuals
SYNOPSISbeagle-build-index [options] <index_path> <path> [path path path]
beagle-build-index, is a tool designed for building static indexes outside of the Beagle daemon.
Running beagle-build-index by hand is of use for those wishing to create and build static indexes used by the Beagle daemon. The static indexes can be helpful in many cases but most notably used as system-wide indexes shared by all users, and as a way for system-administrators to run indexing on a central server in a network environment.
beagle-build-index will index the data specified by the path arguments and create an index in the index_path directory. If a suitable index is found in the index directory, it will automatically append data to the index if the file at hand has been modified since it was last indexed. If it can't find a suitable index (non-existant or version-mismatch) is will purge the directory recursively.
OPTIONSbeagle-build-index takes the following options
If specified, do recursive crawling on the paths specified
- If specified, echo verbose debugging information
- If specified, build text-cache of documents used for snippets
- --allow-pattern [pattern]
- Only allow files that match the pattern to be indexed.
- --deny-pattern [pattern]
- Keep any files that match the pattern from being indexed.
- --remap [path1:path2]
- If specified, remap the target path by prefix. path1 will be replaced with path2. This option is intended to be used when generating pre-built indexes, where the final path will be differ from the current one.