doveadm fts lookup: Is "search query" documented anywhere?
Hi all,
According to the —help option for doveadm fts, there is a “lookup” option as follows:
[root@aurora ~]# doveadm fts --help usage: doveadm [-Dv] [-f <formatter>] fts <command> [<args>] expand [-u <user>|-A] [-S <socket_path>] <search query> lookup [-u <user>|-A] [-S <socket_path>] <search query> optimize [-u <user>|-A] [-S <socket_path>] [<namespace>] rescan [-u <user>|-A] [-S <socket_path>] [<namespace>] tokenize [-u <user>|-A] [-S <socket_path>] <text>
The option does not appear to be documented anywhere (eg https://doc.dovecot.org/3.0/man/doveadm-fts.1/), and “search query” doesn’t appear to be defined.
Guessing that it might be just plain text, I tried searching for a known word, but this failed as follows:
[root@aurora ~]# doveadm fts lookup -u test@example.com sweet Fatal: Unknown argument SWEET
Anyone know?
Regards, Graham —
On 05 Aug 2023, at 14:18, Aki Tuomi <aki.tuomi@open-xchange.com> wrote:
Did you look at https://doc.dovecot.org/3.0/man/doveadm-search-query.7/ <https://doc.dovecot.org/3.0/man/doveadm-search-query.7/> I did not - the page https://doc.dovecot.org/3.0/man/doveadm-fts.1/ has no link to the above, and https://doc.dovecot.org/3.0/man/doveadm-search-query.7/ has no link back to https://doc.dovecot.org/3.0/man/doveadm-fts.1/, and so google doesn;t link these pages.
Can you update the man pages to include the links in the “see also” section?
Regards, Graham —
participants (2)
-
Aki Tuomi
-
Graham Leggett