search (CLI) glitch/regression
(1) By MG (mgr) on 2025-05-22 08:52:49 [link] [source]
with recent versions of fossil, cli search triggers a warning:
fossil search -R REPO.fossil --fts SEARCHTERM
Search of check-ins is disabled on this repository.
Enable using "fossil fts-config enable check-in".
on a REPO that has document/ticket/wiki/technote search enabled and check-in/forum/help search disabled.
Seems like the (implicit) --all
tries check-ins in any case.
Manually restricting to --scope dwte
or newstyle --docs --wiki --tickets --technotes
makes it work.
Wouldn't it be sensible that the default (and --all
) do only consider the activated domains?
Was like that before (at least with fossil version from up to around 2025-01-15 - tested with a more or less random version 28a84e7592 i had around)
(2) By MG (mgr) on 2025-05-22 08:55:59 in reply to 1 [source]
another small glitch: it does search (and find) on internal help, even if that is disabled:
fossil search -R REPO.fossil --fts --bi-help optionally
The "/event" webpage
... Display an existing tech-note identified by its ID, optionally at a specific version, and optionally with additional ...
The "/pikchrshow" webpage
... accessed by adding the "legacy" URL argument. It optionally accepts a p=pikchr-script-code URL parameter or POST ...
...
fossil fts-config -R REPO.fossil
check-in search: off
document search: on
ticket search: on
wiki search: on
technote search: on
forum search: off
built-in help search: off
tokenizer: trigram
full-text index: FTS5
documents: 9035
...