Converted search index actions to use more generic AR-based search for better database compatibility