If a user enters the words:
Range Rover Sport Oil Filter
how do I get the search to return only those results that have all of those words in (regardless of which order it was typed)?
Without double quotes, what I am getting currently is results that have any one of the words typed leading to thousands of results like oil sumps, air filters, sports seats etc most of which may not be related to the Range Rover Sport. If I enclose the search words in quotes, then the results end up with nothing if they aren't typed in exactly to match a DB record... so if I searched "Oil Filter Range Rover Sport", I'd get nothing!
How can I over come this?
Just as an aside, I think this is where lucene becomes beneficial because it apparently gives results based on relevance, and the most relevant result is listed first, which is much more user friendly rather than returning loads of results in any order, or returning nothing because the exact match wasn't found. It would be good to see an extension from you clever guys built around lucene... if there isn't any licensing issues!