コード例 #1
0
        public void SimpleAndClauseSuccessful()
        {
            BooleanQuery query = new BooleanQuery();

            query.And
                (
                    x => x.Term("_name", "work"),
                    x => x.Term("_name", "highlights")
                );

            ExecuteAndAssert(query, 4);
        }