On Tue, 2013-06-18 at 12:17 +0200, Prathik Puthran wrote: > The 2nd query returns the complete matches as well. So I will have to > filter out the complete matches from the partial match results.
Without testing: (Brad OR Pitt) NOT (Brad AND Pitt) Although that does require you to parse the query from the user and re-write it.