appbaseio / appbaseio/dejavu

Supported "editting" a records _id column

Open
#384 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
8.5k
Forks
512
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
My application expects records to have a speciifc _id. Sometimes that _id gets our of shape. I would like to be able to go in and edit the _id value. Now this is not really editting, instead I would like to take the existing document reindex under an _id of my choosing and then delete the original document.

Is this possible?

**Describe the solution you'd like**
Make the _id column editable in the UI, but when the user attempts to save the record it should reindex and delete.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

Right now i have to curl command to get the job done.

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Research direction

Start by locating the record-editing UI and its Elasticsearch document update flow. Compare the requested _id behavior with the existing curl workflow. Done means saving an edited _id reindexes the record under the new value and deletes the original document.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, javascript, react
Domain
database, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.