Finding objects which contains at least one element from subset using RavenDB and LINQ
问题 I have simple type Question : public class Question { public Question(string id) { Id = id; Tags = new List<string>(); } public string Id { get; private set; } public IList<string> Tags { get; set; } } I have defined sample collection of such questions: var q1 = new Question("q1") { Tags = new List<string>() {"a"} }; var q2 = new Question("q2") { Tags = new List<string>() {"b"} }; var q3 = new Question("q3") { Tags = new List<string>() {"a", "b", "c"} }; var q4 = new Question("q4") { Tags =