API now refreshes the search index properly