I am adding a search engine to a CMS I built. I want the results to come out like on google or wikipedia, with the relevant parts of the page highlighted.
I know this has been written and implemented so many times,
but on a preliminary search I realised I must be bad at finding shared code.
Can any one suggest a quick way to find shared code?