Katello/katello — pull request #2015 by parthaa (2013-04-18 22:22:22+00:00)
Title: Made repo clear contents also clear the search indices

An issue cropped up where during the refresh of a content view
we cleared the contents of an existing repo but the old search indices
were still preserved. This caused issues when filters were applied
to the repo but did not get reflected in the indices.

This PR basically clears the search indices before clearing the contents.