public void ChainedTerms() { BooleanQuery query = new BooleanQuery(); query.Setup ( x => x.WildCard("_name", "*highlights"), x => x.Term("_name", "work") ); ExecuteAndAssert(query, 4); }
public void Group() { BooleanQuery query = new BooleanQuery(); query.Setup ( x => x.WildCard("_name", "*highlights"), x => x.Term("_name", "work") ); query.Group().Setup ( x => x.Term("_name", "work") ); throw new NotImplementedException("Needs finishing"); ExecuteAndAssert(query, 4); }
public void SimpleWildCardQuery() { BooleanQuery query = new BooleanQuery(); query.Setup(x => x.WildCard("_name", "h*")); ExecuteAndAssert(query, 16); }
public void SingleTermSetupSuccessful() { BooleanQuery query = new BooleanQuery(); query.Setup(x => x.Term("_name", "work")); ExecuteAndAssert(query, 8); }