Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Articles cannot be Deleted or Updated #5

Open
rlingineni opened this issue Sep 30, 2018 · 0 comments
Open

Articles cannot be Deleted or Updated #5

rlingineni opened this issue Sep 30, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@rlingineni
Copy link
Owner

Currently there is no good way to block an indexed article from the search results or remove it completely. You may update an article with the old ID, both will still exist in the articles collection, and index will awkwardly merge the two article attributes, so this might lead to weird or unexpected behavior.

It would be good to investigate if Lunr has a remove from index function for this or some alternate. We can also expose a /update route that locates a document and keeps track of it.

We would need some data structure or metadata to tell us how to go from the lunr Index to the actual article id that we uploaded.

@rlingineni rlingineni added the bug Something isn't working label Sep 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant