public void SingleTermClauseSuccessful() { BooleanQuery query = new BooleanQuery(); query.Term("_name", "work"); var results = ExecuteAndAssert(query, 8); Assert.AreEqual(8, results.TotalHits); BooleanQuery alternative = new BooleanQuery(); alternative.Where(x => x.Term("_name", "work")); var results2 = Search.Execute(query, 20); Assert.AreEqual(results.TotalHits, results2.TotalHits); }