예제 #1
0
        public virtual void  TestSNot6()
        {
            SpanQuery q = Snot(Sf("w1", 10), St("xx"));

            q.SetBoost(0);
            Bqtest(q, new int[] { 0, 1, 2, 3 });
        }
예제 #2
0
        public virtual void  TestSF7()
        {
            SpanQuery q = Sf(("xx"), 3);

            q.SetBoost(0);
            Bqtest(q, new int[] { 2, 3 });
        }
예제 #3
0
        public virtual void  TestSF3()
        {
            SpanQuery q = Sf(("w1"), 1);

            q.SetBoost(0);
            Bqtest(q, new int[] { 0, 1, 2, 3 });
        }
예제 #4
0
        public virtual void  TestST6()
        {
            SpanQuery q = St("xx");

            q.SetBoost(0);
            Qtest(q, new int[] { 2, 3 });
        }
예제 #5
0
        public virtual void  TestSNot9()
        {
            // NOTE: using qtest not bqtest
            SpanQuery t = St("xx");

            t.SetBoost(0);
            SpanQuery q = Snot(Snear("w1", "w3", 10, true), t);

            Qtest(q, new int[] { 0, 1, 3 });
        }
예제 #6
0
        public virtual void  TestSNot8()
        {
            // NOTE: using qtest not bqtest
            SpanQuery f = Snear("w1", "w3", 10, true);

            f.SetBoost(0);
            SpanQuery q = Snot(f, St("xx"));

            Qtest(q, new int[] { 0, 1, 3 });
        }