Revert "finalize highlights on the search failed"

This reverts commit 7ef54fa7f06d76d3073d4225cd0eab31cdf6344c.