Exemplo n.º 1
0
        public virtual void  TestMPQ7()
        {
            MultiPhraseQuery q = new MultiPhraseQuery();

            q.Add(Ta(new System.String[] { "w1" }));
            q.Add(Ta(new System.String[] { "w2" }));
            q.SetSlop(1);
            q.SetBoost(0.0f);
            Bqtest(q, new int[] { 0, 1, 2 });
        }
		public virtual void  TestMPQ7()
		{
			MultiPhraseQuery q = new MultiPhraseQuery();
			q.Add(Ta(new System.String[]{"w1"}));
			q.Add(Ta(new System.String[]{"w2"}));
			q.SetSlop(1);
			q.SetBoost(0.0f);
			Bqtest(q, new int[]{0, 1, 2});
		}