When a user changes the name or deletes an item with a Lucene index attached to it, Sitecore will throw errors when using any index based functionality - it can break site sometimes.
I can think of 2 possible solutions:
- Make Sitecore ignore indexes with non existent items.
- Try to block item somehow so it cant be renamed/unpublished/deleted by user
What do you think? I will need some details on two solutions.
Clarification: I'm talking about the index root item. For example I have site with news and the root item is news/technology. If the user deletes or renames this item, there is problem.