You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Olivier Grisel (JIRA)" <ji...@apache.org> on 2010/01/14 15:42:54 UTC

[jira] Created: (MAHOUT-246) upgrade to new lucene TokenStream API to cleanup deprecation API

upgrade to new lucene TokenStream API to cleanup deprecation API
----------------------------------------------------------------

                 Key: MAHOUT-246
                 URL: https://issues.apache.org/jira/browse/MAHOUT-246
             Project: Mahout
          Issue Type: Improvement
    Affects Versions: 0.2
            Reporter: Olivier Grisel
             Fix For: 0.3


The attached patch use the new ts.incrementToken() / TermAttribute API instead of the deprecated manual Token handling.

It also replaces to occurrences of the deprecated "new StandardAnalyszer()" to the more explicit "new StandardAnalyzer(Version.LUCENE_CURRENT)".

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


[jira] Updated: (MAHOUT-246) upgrade to new lucene TokenStream API to cleanup deprecation warnings

Posted by "Isabel Drost (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Isabel Drost updated MAHOUT-246:
--------------------------------

    Resolution: Fixed
      Assignee: Olivier Grisel
        Status: Resolved  (was: Patch Available)

Patch applies cleanly with -p1,  all tests still work, changes look good. Committed in revision 901791.

> upgrade to new lucene TokenStream API to cleanup deprecation warnings
> ---------------------------------------------------------------------
>
>                 Key: MAHOUT-246
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-246
>             Project: Mahout
>          Issue Type: Improvement
>    Affects Versions: 0.2
>            Reporter: Olivier Grisel
>            Assignee: Olivier Grisel
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: MAHOUT-246-2.patch
>
>
> The attached patch use the new ts.incrementToken() / TermAttribute API instead of the deprecated manual Token handling.
> It also replaces to occurrences of the deprecated "new StandardAnalyzer()" to the more explicit "new StandardAnalyzer(Version.LUCENE_CURRENT)".

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


[jira] Updated: (MAHOUT-246) upgrade to new lucene TokenStream API to cleanup deprecation warnings

Posted by "Olivier Grisel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Grisel updated MAHOUT-246:
----------------------------------

    Attachment:     (was: remove-lucene-deprecation-warnings.diff)

> upgrade to new lucene TokenStream API to cleanup deprecation warnings
> ---------------------------------------------------------------------
>
>                 Key: MAHOUT-246
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-246
>             Project: Mahout
>          Issue Type: Improvement
>    Affects Versions: 0.2
>            Reporter: Olivier Grisel
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: MAHOUT-246-2.patch
>
>
> The attached patch use the new ts.incrementToken() / TermAttribute API instead of the deprecated manual Token handling.
> It also replaces to occurrences of the deprecated "new StandardAnalyzer()" to the more explicit "new StandardAnalyzer(Version.LUCENE_CURRENT)".

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


[jira] Updated: (MAHOUT-246) upgrade to new lucene TokenStream API to cleanup deprecation API

Posted by "Olivier Grisel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Grisel updated MAHOUT-246:
----------------------------------

    Status: Patch Available  (was: Open)

> upgrade to new lucene TokenStream API to cleanup deprecation API
> ----------------------------------------------------------------
>
>                 Key: MAHOUT-246
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-246
>             Project: Mahout
>          Issue Type: Improvement
>    Affects Versions: 0.2
>            Reporter: Olivier Grisel
>             Fix For: 0.3
>
>         Attachments: remove-lucene-deprecation-warnings.diff
>
>
> The attached patch use the new ts.incrementToken() / TermAttribute API instead of the deprecated manual Token handling.
> It also replaces to occurrences of the deprecated "new StandardAnalyzer()" to the more explicit "new StandardAnalyzer(Version.LUCENE_CURRENT)".

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


[jira] Updated: (MAHOUT-246) upgrade to new lucene TokenStream API to cleanup deprecation warnings

Posted by "Olivier Grisel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Grisel updated MAHOUT-246:
----------------------------------

    Summary: upgrade to new lucene TokenStream API to cleanup deprecation warnings  (was: upgrade to new lucene TokenStream API to cleanup deprecation API)

> upgrade to new lucene TokenStream API to cleanup deprecation warnings
> ---------------------------------------------------------------------
>
>                 Key: MAHOUT-246
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-246
>             Project: Mahout
>          Issue Type: Improvement
>    Affects Versions: 0.2
>            Reporter: Olivier Grisel
>             Fix For: 0.3
>
>         Attachments: remove-lucene-deprecation-warnings.diff
>
>
> The attached patch use the new ts.incrementToken() / TermAttribute API instead of the deprecated manual Token handling.
> It also replaces to occurrences of the deprecated "new StandardAnalyzer()" to the more explicit "new StandardAnalyzer(Version.LUCENE_CURRENT)".

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


[jira] Updated: (MAHOUT-246) upgrade to new lucene TokenStream API to cleanup deprecation API

Posted by "Olivier Grisel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Grisel updated MAHOUT-246:
----------------------------------

    Attachment: remove-lucene-deprecation-warnings.diff

> upgrade to new lucene TokenStream API to cleanup deprecation API
> ----------------------------------------------------------------
>
>                 Key: MAHOUT-246
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-246
>             Project: Mahout
>          Issue Type: Improvement
>    Affects Versions: 0.2
>            Reporter: Olivier Grisel
>             Fix For: 0.3
>
>         Attachments: remove-lucene-deprecation-warnings.diff
>
>
> The attached patch use the new ts.incrementToken() / TermAttribute API instead of the deprecated manual Token handling.
> It also replaces to occurrences of the deprecated "new StandardAnalyzer()" to the more explicit "new StandardAnalyzer(Version.LUCENE_CURRENT)".

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


[jira] Updated: (MAHOUT-246) upgrade to new lucene TokenStream API to cleanup deprecation warnings

Posted by "Olivier Grisel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Grisel updated MAHOUT-246:
----------------------------------

    Priority: Minor  (was: Major)

> upgrade to new lucene TokenStream API to cleanup deprecation warnings
> ---------------------------------------------------------------------
>
>                 Key: MAHOUT-246
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-246
>             Project: Mahout
>          Issue Type: Improvement
>    Affects Versions: 0.2
>            Reporter: Olivier Grisel
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: remove-lucene-deprecation-warnings.diff
>
>
> The attached patch use the new ts.incrementToken() / TermAttribute API instead of the deprecated manual Token handling.
> It also replaces to occurrences of the deprecated "new StandardAnalyzer()" to the more explicit "new StandardAnalyzer(Version.LUCENE_CURRENT)".

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


[jira] Updated: (MAHOUT-246) upgrade to new lucene TokenStream API to cleanup deprecation warnings

Posted by "Olivier Grisel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Grisel updated MAHOUT-246:
----------------------------------

    Attachment: MAHOUT-246-2.patch

actualised version of the previous patch

> upgrade to new lucene TokenStream API to cleanup deprecation warnings
> ---------------------------------------------------------------------
>
>                 Key: MAHOUT-246
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-246
>             Project: Mahout
>          Issue Type: Improvement
>    Affects Versions: 0.2
>            Reporter: Olivier Grisel
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: MAHOUT-246-2.patch
>
>
> The attached patch use the new ts.incrementToken() / TermAttribute API instead of the deprecated manual Token handling.
> It also replaces to occurrences of the deprecated "new StandardAnalyzer()" to the more explicit "new StandardAnalyzer(Version.LUCENE_CURRENT)".

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


[jira] Updated: (MAHOUT-246) upgrade to new lucene TokenStream API to cleanup deprecation API

Posted by "Olivier Grisel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Grisel updated MAHOUT-246:
----------------------------------

    Description: 
The attached patch use the new ts.incrementToken() / TermAttribute API instead of the deprecated manual Token handling.

It also replaces to occurrences of the deprecated "new StandardAnalyzer()" to the more explicit "new StandardAnalyzer(Version.LUCENE_CURRENT)".

  was:
The attached patch use the new ts.incrementToken() / TermAttribute API instead of the deprecated manual Token handling.

It also replaces to occurrences of the deprecated "new StandardAnalyszer()" to the more explicit "new StandardAnalyzer(Version.LUCENE_CURRENT)".


typo

> upgrade to new lucene TokenStream API to cleanup deprecation API
> ----------------------------------------------------------------
>
>                 Key: MAHOUT-246
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-246
>             Project: Mahout
>          Issue Type: Improvement
>    Affects Versions: 0.2
>            Reporter: Olivier Grisel
>             Fix For: 0.3
>
>         Attachments: remove-lucene-deprecation-warnings.diff
>
>
> The attached patch use the new ts.incrementToken() / TermAttribute API instead of the deprecated manual Token handling.
> It also replaces to occurrences of the deprecated "new StandardAnalyzer()" to the more explicit "new StandardAnalyzer(Version.LUCENE_CURRENT)".

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