optimize HNFeedTaskSearch and related codes.