You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: