You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2011/06/08 18:06:00 UTC

[jira] [Created] (SOLR-2581) UIMAToSolrMapper wrongly instantiates Type with reflection

UIMAToSolrMapper wrongly instantiates Type with reflection
----------------------------------------------------------

                 Key: SOLR-2581
                 URL: https://issues.apache.org/jira/browse/SOLR-2581
             Project: Solr
          Issue Type: Improvement
            Reporter: Tommaso Teofili


the UIMAToSolrMapper create a mock Type with reflection while the Type should be retrieved using the JCas.getTypeSystem().getType() method. This must be changed to allow also the deploy of annotators whose typeSystem classes have not explicitly generated (with JCasGen).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Resolved] (SOLR-2581) UIMAToSolrMapper wrongly instantiates Type with reflection

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

Koji Sekiguchi resolved SOLR-2581.
----------------------------------

    Resolution: Fixed

trunk: Committed revision 1135009.
3x: Committed revision 1135010.

> UIMAToSolrMapper wrongly instantiates Type with reflection
> ----------------------------------------------------------
>
>                 Key: SOLR-2581
>                 URL: https://issues.apache.org/jira/browse/SOLR-2581
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 3.1, 3.2, 4.0
>            Reporter: Tommaso Teofili
>            Assignee: Koji Sekiguchi
>             Fix For: 3.3, 4.0
>
>         Attachments: SOLR-2581.patch
>
>
> the UIMAToSolrMapper create a mock Type with reflection while the Type should be retrieved using the JCas.getTypeSystem().getType() method. This must be changed to allow also the deploy of annotators whose typeSystem classes have not explicitly generated (with JCasGen).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-2581) UIMAToSolrMapper wrongly instantiates Type with reflection

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

Koji Sekiguchi updated SOLR-2581:
---------------------------------

    Affects Version/s: 4.0
                       3.1
                       3.2
        Fix Version/s: 4.0
                       3.3
             Assignee: Koji Sekiguchi

> UIMAToSolrMapper wrongly instantiates Type with reflection
> ----------------------------------------------------------
>
>                 Key: SOLR-2581
>                 URL: https://issues.apache.org/jira/browse/SOLR-2581
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 3.1, 3.2, 4.0
>            Reporter: Tommaso Teofili
>            Assignee: Koji Sekiguchi
>             Fix For: 3.3, 4.0
>
>         Attachments: SOLR-2581.patch
>
>
> the UIMAToSolrMapper create a mock Type with reflection while the Type should be retrieved using the JCas.getTypeSystem().getType() method. This must be changed to allow also the deploy of annotators whose typeSystem classes have not explicitly generated (with JCasGen).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-2581) UIMAToSolrMapper wrongly instantiates Type with reflection

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

Tommaso Teofili updated SOLR-2581:
----------------------------------

    Attachment: SOLR-2581.patch

> UIMAToSolrMapper wrongly instantiates Type with reflection
> ----------------------------------------------------------
>
>                 Key: SOLR-2581
>                 URL: https://issues.apache.org/jira/browse/SOLR-2581
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Tommaso Teofili
>         Attachments: SOLR-2581.patch
>
>
> the UIMAToSolrMapper create a mock Type with reflection while the Type should be retrieved using the JCas.getTypeSystem().getType() method. This must be changed to allow also the deploy of annotators whose typeSystem classes have not explicitly generated (with JCasGen).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Commented] (SOLR-2581) UIMAToSolrMapper wrongly instantiates Type with reflection

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048325#comment-13048325 ] 

Koji Sekiguchi commented on SOLR-2581:
--------------------------------------

I'll commit tomorrow.

> UIMAToSolrMapper wrongly instantiates Type with reflection
> ----------------------------------------------------------
>
>                 Key: SOLR-2581
>                 URL: https://issues.apache.org/jira/browse/SOLR-2581
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Tommaso Teofili
>         Attachments: SOLR-2581.patch
>
>
> the UIMAToSolrMapper create a mock Type with reflection while the Type should be retrieved using the JCas.getTypeSystem().getType() method. This must be changed to allow also the deploy of annotators whose typeSystem classes have not explicitly generated (with JCasGen).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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