lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Ok, for a Java newbie, how setup NetBeans 4 + Lucene
Date Wed, 23 Mar 2005 09:57:19 GMT

On Mar 22, 2005, at 10:40 PM, Chuck Williams wrote:
> As a side note, I just ran the tests and got two errors:

These are known test failures.  I've just made this test an exception  
and it will not run by default.  To run this particular test:

	ant test -Dtestcase=TestPrecedenceQueryParser

Erik



>
> Testcase:  
> testSimple(org.apache.lucene.queryParser.precedence.TestPrecedenceQuery 
> Parser):    FAILED
> Query /a OR !b/ yielded /a -b/, expecting /a (-b)/
> junit.framework.AssertionFailedError: Query /a OR !b/ yielded /a -b/,  
> expecting /a (-b)/
>    at  
> org.apache.lucene.queryParser.precedence.TestPrecedenceQueryParser.asse 
> rtQueryEquals(TestPrecedenceQueryParser.java:122)
>    at  
> org.apache.lucene.queryParser.precedence.TestPrecedenceQueryParser.test 
> Simple(TestPrecedenceQueryParser.java:224)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at  
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja 
> va:39)
>    at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso 
> rImpl.java:25)
>
>
> Testcase:  
> testPrecedence(org.apache.lucene.queryParser.precedence.TestPrecedenceQ 
> ueryParser):    FAILED
> expected:<field:A -(+field:B +field:C)> but was:<field:A (-field:B  
> +field:C)>
> junit.framework.AssertionFailedError: expected:<field:A -(+field:B  
> +field:C)> but was:<field:A (-field:B +field:C)>
>    at  
> org.apache.lucene.queryParser.precedence.TestPrecedenceQueryParser.test 
> Precedence(TestPrecedenceQueryParser.java:559)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at  
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja 
> va:39)
>    at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso 
> rImpl.java:25)
>
>
>
> Chuck
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message