digitalroastery / weblounge

Web Content Management System
12 stars 4 forks source link

[Bugfix] Make sure content repository does not clear complete search index #343

Closed myniva closed 9 years ago

myniva commented 9 years ago

Add an additional method #clear(Site) to the SearchIndex which allows to clear only one index. Change the method ContentRepositoryIndex#clear() to use the new method which ensures that clearing the content repository index does not remove the indices of all other sites.