adding processing indicator to search directive