[ 
https://issues.apache.org/jira/browse/LUCENE-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149202#comment-13149202
 ] 

Robert Muir commented on LUCENE-3314:
-------------------------------------

i just tripped on this one lately, because i think we are calling countTerms() 
more often.

First to fix the test issue, I will disable the assertNull with a comment, as 
well as add
javadocs to TermsEnum that say the result is undefined if you next() after it 
already returned null.

Later we can investigate on a case-by-case basis if it costs us nothing to 
throw IAE/assert etc.
                
> TestNumericRangeQuery test failure
> ----------------------------------
>
>                 Key: LUCENE-3314
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3314
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>
> https://builds.apache.org/view/G-L/view/Lucene/job/Lucene-trunk/1624/testReport/org.apache.lucene.search/TestNumericRangeQuery32/testEnum/
> ant test -Dtestcase=TestNumericRangeQuery32 -Dtestmethod=testEnum 
> -Dtests.seed=-3603272894684698645:-1998239306864854687 -Dtests.multiplier=3 
> -Dtests.nightly=true

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to