ayende/ravendb — pull request #90 by jalchr (2012-02-28 12:16:53+00:00)
Title: Search and Where are not producing expected outcome

var images = session.Query("test")
.Customize(x => x.WaitForNonStaleResults())
.OrderBy(x => x.Name)
.Search(x => x.Name, "Photo")
.Where(x => x.Id == "1")
.ToList();
Assert.NotEmpty(images);
Assert.True(images.Count == 1);