1 .TH plocate-build 8 "Oct 2020" plocate-build
3 plocate-build \- generate index for plocate
15 from an index earlier generated by
19 package. Most users would rather want to use plocate's own
24 already exists, it will be overwritten (non-atomically). The file is
25 created such that it is not world-readable, as the final access check
32 \fB\-b\fR, \fB\-\-block\-size\fR \fISIZE\fR
33 Create blocks containing
35 filenames each, compress them together, and treat them as the same element
36 in the posting lists. This makes the index smaller (because the compression
37 algorithm gets more context to work with, and because there are fewer elements
38 in each posting list), but also makes posting lists less precise, moving more
39 work to weeding out false positives after posting list intersection.
41 Making this number larger will make linear search (for \fB\-\-regex\fR,
42 or very short patterns) faster, with diminishing returns around 256 filenames
43 per block. However, making it too large will cause more false positives,
44 reducing overall performance for typical queries. The default value is 32.
45 Setting it to 1 makes one (compressed) block per filename.
48 \fB\-p\fR, \fB\-\-plaintext\fR
49 Treat the input as plain text, with entries delimited by newlines,
50 instead of an mlocate database.
54 Print out usage information, then exit successfully.
58 Print out version information, then exit successfully.
61 Steinar H. Gunderson <steinar+plocate@gunderson.no>
65 \fB/etc/cron.daily/plocate\fR (which is called
66 \fBupdate-plocate.sh\fR in the source distribution)