Sometimes a database object can get deleted but the Solr index entry will remain.
This can cause problems such as infinite Chef Search API request loops (for knife and I believe for Manage).
The following procedure identifies remaining index entries and provides a way to delete them.
# set the name of the organization you are interested in
export ORG_NAME=demo