You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Paul Elschot <pa...@xs4all.nl> on 2004/04/07 18:23:22 UTC
Test case for ordered span query with more than 2 subqueries and slop.
On Tuesday 06 April 2004 21:23, Paul Elschot wrote:
> Doug,
>
> On Tuesday 06 April 2004 18:11, Doug Cutting wrote:
> > Paul Elschot wrote:
> > > A test of the ordered span query with three terms:
> > > w1 w2 w3
> > > and slop 1 against document:
> > > w1 w3 w2 w3
> > > fails.
> >
> > Thanks for catching this. It would be helpful if you could submit a
> > JUnit test which tests this case.
>
Attached is TestBasics2.java.
Can be used next to TestBasic.java in a CVS working copy.
Adapting build.xml to only run TestBasic* tests allows a simple
'ant test' from the command line to run both.
TestBasics2 currently fails on the above case.
Have a nice day,
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
Re: Test case for ordered span query with more than 2 subqueries and slop.
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Apr 7, 2004, at 12:23 PM, Paul Elschot wrote:
> Attached is TestBasics2.java.
> Can be used next to TestBasic.java in a CVS working copy.
> Adapting build.xml to only run TestBasic* tests allows a simple
> 'ant test' from the command line to run both.
> TestBasics2 currently fails on the above case.
No need to modify build.xml to only run a single test case:
ant -Dtestcase=TestBasics2 test
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org