'\" t .\" Title: localsearch-reset .\" Author: The LocalSearch developers .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 09/01/2026 .\" Manual: LocalSearch manual .\" Source: \ \& 3.11.2 .\" Language: English .\" .TH "LOCALSEARCH\-RESET" "1" "09/01/2026" "\ \& 3\&.11\&.2" "LocalSearch manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" localsearch-reset \- Erase the indexed data .SH "SYNOPSIS" .sp \fBlocalsearch reset\fR [\-\-filesystem] [\-\-file \fIFILE\fR] .SH "DESCRIPTION" .sp The reset command will change either your configuration or index irreversibly and should be used with care\&. Other than tags, actual data (e\&.g\&. files) should not be affected by this command\&. .sp The "index" is a link between your content (either locally or remotely) and how it can be found quickly using a number of different queries\&. Under the hood, this is done using a database\&. .sp Removing all data and starting again from the beginning with an empty data set (which is a common use of this command) will make LocalSearch behave as if it was just installed\&. .SH "OPTIONS" .PP \fB\-s, \-\-filesystem\fR .RS 4 Removes indexed filesystem data\&. The indexer will automatically re\-create its cache from the filesystem when it restarts\&. This option is the default if no arguments are given\&. .RE .PP \fB\-f, \-\-file \fR\fB\fIFILE\fR\fR .RS 4 Resets all indexed information about \fIFILE\fR, works recursively for directories\&. Nothing will be done if \fIFILE\fR is not currently indexed\&. After deletion, a request to reindex this data will be immediately issued\&. .RE .SH "SEE ALSO" .sp \fBlocalsearch\-daemon\fR(1)\&. \fBlocalsearch\-3\fR(1)\&.