Create endpoint to start corpus indexation
Refs https://gitlab.com/teklia/requests/-/issues/801
A new endpoint named BuildSearchIndex
must be created, and made available to corpus admins.
The corpus should support the following options:
-
drop
, default to True
The endpoint simply start an indexation task, ran by RQ.
The new indexation task must send an email to the administrator once the corpus has been indexed.
Edited by Bastien Abadie