Should soreness be used as an indicator?

Like when you lift, should you use how sore you are the next day to gauge how successful your workout was (assuming that you're not so sore that it's obvious you dun mucked up)? I've heard from some people that soreness is good but I've heard from others that if you're not sore you didn't work hard enough.
Should soreness be used as an indicator?
Post Opinion