For the search feature on my site, the user searches for a term or a phrase then it gets processed and using the "LIKE" query to the mysql database - the relevant results are gotten. then they are shortened to 500 characters so snippets of the matching results are shown to the person searching. Only problem with this is that often the word which matched isn't in the 500chars (shortened) result and the user of the search engine may think its not working since the result isnt being displayed in the snippet.
Any (easy) ways around this?