Rebuild the search index via Ajax requests