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. This is currently the only way to build such an index.
22 already exists, it will be overwritten (non-atomically). The file is
23 created such that it is not world-readable, as the final access check
30 \fB\-b\fR, \fB\-\-block\-size\fR \fISIZE\fR
31 Create blocks containing
33 filenames each, compress them together, and treat them as the same element
34 in the posting lists. This makes the index smaller (because the compression
35 algorithm gets more context to work with, and because there are fewer elements
36 in each posting list), but also makes posting lists less precise, moving more
37 work to weeding out false positives after posting list intersection.
39 Making this number larger will make linear search (for \fB\-\-regex\fR,
40 or very short patterns) faster, with diminishing returns around 256 filenames
41 per block. However, making it too large will cause more false positives,
42 reducing overall performance for typical queries. The default value is 32.
43 Setting it to 1 makes one (compressed) block per filename.
46 \fB\-p\fR, \fB\-\-plaintext\fR
47 Treat the input as plain text, with entries delimited by newlines,
48 instead of an mlocate database.
52 Print out usage information, then exit successfully.
56 Print out version information, then exit successfully.
59 Steinar H. Gunderson <steinar+plocate@gunderson.no>
63 \fB/etc/cron.daily/plocate\fR (which is called
64 \fBupdate-plocate.sh\fR in the source distribution)