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

Michael Busch commented on LUCENE-1838:
---------------------------------------

I just updated to current trunk and TestBoostingNearQuery is failing for me now:


{noformat}
junit.framework.AssertionFailedError: expected:<spanNear([field:twenty, 
field:two], 0, true)> but was:<spanNear([field:twenty, field:two], 0, true)>
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.failNotEquals(Assert.java:280)
        at junit.framework.Assert.assertEquals(Assert.java:64)
        at junit.framework.Assert.assertEquals(Assert.java:71)
        at org.apache.lucene.search.QueryUtils.checkEqual(QueryUtils.java:68)
        at 
org.apache.lucene.search.QueryUtils.checkHashEquals(QueryUtils.java:50)
        at org.apache.lucene.search.QueryUtils.check(QueryUtils.java:44)
        at 
org.apache.lucene.search.payloads.TestBoostingNearQuery.test(TestBoostingNearQuery.java:124)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:164)
        at 
org.apache.lucene.util.LuceneTestCase.runTest(LuceneTestCase.java:201)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at 
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
        at 
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
{noformat}

> BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - 
> cloning is required for Span container classes
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1838
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1838
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 2.9
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to