Add info for automatic indexing to Readme
This commit is contained in:
parent
c87453d2f8
commit
36e813aa2d
|
@ -67,6 +67,8 @@ This will slightly increase the delay before the application begins responding t
|
||||||
|
|
||||||
The index can be regenerated at any time by accessing the `/index/rebuild` endpoint.
|
The index can be regenerated at any time by accessing the `/index/rebuild` endpoint.
|
||||||
|
|
||||||
|
Automatic index rebuilds can be enabled via the `--index-interval` flag, which accepts [time.Duration](https://pkg.go.dev/time#ParseDuration) strings.
|
||||||
|
|
||||||
If `--index-file` is set, the index will be loaded from the specified file on start, and written to the file whenever it is re-generated.
|
If `--index-file` is set, the index will be loaded from the specified file on start, and written to the file whenever it is re-generated.
|
||||||
|
|
||||||
The index file consists of (optionally compressed) [gobs](https://pkg.go.dev/encoding/gob).
|
The index file consists of (optionally compressed) [gobs](https://pkg.go.dev/encoding/gob).
|
||||||
|
|
Loading…
Reference in New Issue