-
Type: User story
-
Status: Open
-
Priority: Critical
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Admin Center
-
Epic Link:
-
Tags:
-
Sprint:UI - 2024-6
As a system administrator, I can reindex a single document
[REINDEX-SINGLEDOC]
Context:
ES endpoint https://doc.nuxeo.com/rest-api/1/elasticsearch-endpoint/
Typical support request when a document can't be found anymore. Happens in case a job failed somewhere or some elasticsearch configuration was updated, very low risk given the volume.
AC
Within the elasticsearch reindex menu entry
An option is provided to reindex a single document:
Tab name: "Document"
Title: "Reindex a single document"
Parameters:
- Document ID or path
- Placeholder: Document ID or path
An id or a path should be provided, otherwise an error message is displayed
"Please provide a document id or a document path"
- Placeholder: Document ID or path
Errors are handled so that when a problem is detected:
- The error message coming back from the server is displayed. Sample errors that could happen:
- Document id or path does not exist
- Error returned by the server
- I can go back to the form and parameters are kept so that I can fix any mistake easily and try again
When a valid id or path is provided:
- Request is sent
- No confirmation is required
- A confirmation is displayed with the outcome, e.g. "Document reindexing request launched. Bulk action id: [NUMBER]."
- A "Go back" action allows me to go launch another request. Fields have been reset so that I don't launch the same request twice by accident.
1.
|
Markup | Open | Unassigned | |
2.
|
NG-Component | Open | Unassigned | |
3.
|
Service-Integration | Open | Unassigned | |
4.
|
Action | Open | Unassigned | |
5.
|
Effects | Open | Unassigned | |
6.
|
Reducer | Open | Unassigned |