adds search word or tag name to result header.