Skip to content

Articles cannot be Deleted or Updated #5

@rlingineni

Description

@rlingineni

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions