If you are looking for C, C ++, or C # code, use the Sando Code Search Tool (a free open source extension for Visual Studio). In many cases, it eliminates duplicate results by returning only one result for each program element (i.e. class, method or field) that matters.
Here is the animated gif of this in action:

Full disclosure: I am the initiator of the project for this extension, so I can be biased :)
source share