How do you match a search string for every word using linq? i.e. "apple orange" should match on "orange apple" but not "apple orange fred".
This query here works to find if any single word matches, I could not get it to work for All() words matching.
var match = "apple orange pear".Split()
.Intersect("orange pear fred".Split())
.Any();
The idea is very similar to this thread. Word-wise super string search for given string