You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org> on 2009/07/24 11:26:14 UTC

[jira] Created: (UIMA-1455) Lucas should not use deprecated lucene API

Lucas should not use deprecated lucene API
------------------------------------------

                 Key: UIMA-1455
                 URL: https://issues.apache.org/jira/browse/UIMA-1455
             Project: UIMA
          Issue Type: Improvement
          Components: Sandbox-Lucas
            Reporter: Jörn Kottmann
            Priority: Minor


Right now Lucas uses deprecated lucene APIs. That should be refactored to use the new suggested API.

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


[jira] Commented: (UIMA-1455) Lucas should not use deprecated lucene API

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736021#action_12736021 ] 

Jörn Kottmann commented on UIMA-1455:
-------------------------------------

I gave your user the contributor role. Can you please try again ?

> Lucas should not use deprecated lucene API
> ------------------------------------------
>
>                 Key: UIMA-1455
>                 URL: https://issues.apache.org/jira/browse/UIMA-1455
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox-Lucas
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>         Attachments: UIMA-1455-1.patch
>
>
> Right now Lucas uses deprecated lucene APIs. That should be refactored to use the new suggested API.

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


[jira] Commented: (UIMA-1455) Lucas should not use deprecated lucene API

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735982#action_12735982 ] 

Jörn Kottmann commented on UIMA-1455:
-------------------------------------

After applying the patch tests fail with maven but not with eclipse. It seems that maven
enables assertions. Here is the stack trace:

java.lang.AssertionError
	at org.apache.lucene.analysis.TokenStream.next(TokenStream.java:90)
	at org.apache.uima.lucas.indexer.analysis.TokenStreamMerger.rebuildSortedTokens(TokenStreamMerger.java:118)
	at org.apache.uima.lucas.indexer.analysis.TokenStreamMerger.next(TokenStreamMerger.java:102)
	at org.apache.uima.lucas.indexer.analysis.TokenStreamMergerTest.testNext(TokenStreamMergerTest.java:78)
	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:597)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	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:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)

> Lucas should not use deprecated lucene API
> ------------------------------------------
>
>                 Key: UIMA-1455
>                 URL: https://issues.apache.org/jira/browse/UIMA-1455
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox-Lucas
>            Reporter: Jörn Kottmann
>            Priority: Minor
>         Attachments: UIMA-1455.patch
>
>
> Right now Lucas uses deprecated lucene APIs. That should be refactored to use the new suggested API.

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


[jira] Resolved: (UIMA-1455) Lucas should not use deprecated lucene API

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörn Kottmann resolved UIMA-1455.
---------------------------------

    Resolution: Fixed
      Assignee: Jörn Kottmann

Patch is applied and now all tests pass. Rico please close the issue after you verified the changes.

> Lucas should not use deprecated lucene API
> ------------------------------------------
>
>                 Key: UIMA-1455
>                 URL: https://issues.apache.org/jira/browse/UIMA-1455
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox-Lucas
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>         Attachments: UIMA-1455-1.patch
>
>
> Right now Lucas uses deprecated lucene APIs. That should be refactored to use the new suggested API.

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


[jira] Updated: (UIMA-1455) Lucas should not use deprecated lucene API

Posted by "Rico Landefeld (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rico Landefeld updated UIMA-1455:
---------------------------------

    Attachment: UIMA-1455.patch

fixes this issue

> Lucas should not use deprecated lucene API
> ------------------------------------------
>
>                 Key: UIMA-1455
>                 URL: https://issues.apache.org/jira/browse/UIMA-1455
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox-Lucas
>            Reporter: Jörn Kottmann
>            Priority: Minor
>         Attachments: UIMA-1455.patch
>
>
> Right now Lucas uses deprecated lucene APIs. That should be refactored to use the new suggested API.

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


[jira] Updated: (UIMA-1455) Lucas should not use deprecated lucene API

Posted by "Rico Landefeld (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rico Landefeld updated UIMA-1455:
---------------------------------

    Attachment:     (was: UIMA-1455.patch)

> Lucas should not use deprecated lucene API
> ------------------------------------------
>
>                 Key: UIMA-1455
>                 URL: https://issues.apache.org/jira/browse/UIMA-1455
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox-Lucas
>            Reporter: Jörn Kottmann
>            Priority: Minor
>         Attachments: UIMA-1455-1.patch
>
>
> Right now Lucas uses deprecated lucene APIs. That should be refactored to use the new suggested API.

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


[jira] Closed: (UIMA-1455) Lucas should not use deprecated lucene API

Posted by "Rico Landefeld (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rico Landefeld closed UIMA-1455.
--------------------------------


Lucas uses now the suggested API of Lucene.

> Lucas should not use deprecated lucene API
> ------------------------------------------
>
>                 Key: UIMA-1455
>                 URL: https://issues.apache.org/jira/browse/UIMA-1455
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox-Lucas
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>         Attachments: UIMA-1455-1.patch
>
>
> Right now Lucas uses deprecated lucene APIs. That should be refactored to use the new suggested API.

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


[jira] Updated: (UIMA-1455) Lucas should not use deprecated lucene API

Posted by "Rico Landefeld (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rico Landefeld updated UIMA-1455:
---------------------------------

    Attachment: UIMA-1455-1.patch

This is the updated patch which fixes also the assertion problem.

> Lucas should not use deprecated lucene API
> ------------------------------------------
>
>                 Key: UIMA-1455
>                 URL: https://issues.apache.org/jira/browse/UIMA-1455
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox-Lucas
>            Reporter: Jörn Kottmann
>            Priority: Minor
>         Attachments: UIMA-1455-1.patch
>
>
> Right now Lucas uses deprecated lucene APIs. That should be refactored to use the new suggested API.

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


[jira] Updated: (UIMA-1455) Lucas should not use deprecated lucene API

Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor updated UIMA-1455:
---------------------------------

    Fix Version/s: 2.3S

> Lucas should not use deprecated lucene API
> ------------------------------------------
>
>                 Key: UIMA-1455
>                 URL: https://issues.apache.org/jira/browse/UIMA-1455
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox-Lucas
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>             Fix For: 2.3S
>
>         Attachments: UIMA-1455-1.patch
>
>
> Right now Lucas uses deprecated lucene APIs. That should be refactored to use the new suggested API.

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


[jira] Commented: (UIMA-1455) Lucas should not use deprecated lucene API

Posted by "Rico Landefeld (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736007#action_12736007 ] 

Rico Landefeld commented on UIMA-1455:
--------------------------------------

It works, but how can I close this issue? Do I have the rights?

> Lucas should not use deprecated lucene API
> ------------------------------------------
>
>                 Key: UIMA-1455
>                 URL: https://issues.apache.org/jira/browse/UIMA-1455
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox-Lucas
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>         Attachments: UIMA-1455-1.patch
>
>
> Right now Lucas uses deprecated lucene APIs. That should be refactored to use the new suggested API.

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


[jira] Commented: (UIMA-1455) Lucas should not use deprecated lucene API

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736018#action_12736018 ] 

Jörn Kottmann commented on UIMA-1455:
-------------------------------------

On the left side in the menu  "Available Workflow Actions" -> "Close Issue". Don't you have that ? You must be logged in to see it.

> Lucas should not use deprecated lucene API
> ------------------------------------------
>
>                 Key: UIMA-1455
>                 URL: https://issues.apache.org/jira/browse/UIMA-1455
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox-Lucas
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>         Attachments: UIMA-1455-1.patch
>
>
> Right now Lucas uses deprecated lucene APIs. That should be refactored to use the new suggested API.

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


[jira] Commented: (UIMA-1455) Lucas should not use deprecated lucene API

Posted by "Rico Landefeld (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736020#action_12736020 ] 

Rico Landefeld commented on UIMA-1455:
--------------------------------------

I dont have this menu entry and I am logged in. There is a message under the worklog menu entry, that I don't have the rights to work on this issue.

> Lucas should not use deprecated lucene API
> ------------------------------------------
>
>                 Key: UIMA-1455
>                 URL: https://issues.apache.org/jira/browse/UIMA-1455
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Sandbox-Lucas
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Minor
>         Attachments: UIMA-1455-1.patch
>
>
> Right now Lucas uses deprecated lucene APIs. That should be refactored to use the new suggested API.

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