Solr
  1. Solr
  2. SOLR-2581

UIMAToSolrMapper wrongly instantiates Type with reflection

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1, 3.2, 4.0-ALPHA
    • Fix Version/s: 3.3, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None

      Description

      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).

      1. SOLR-2581.patch
        7 kB
        Tommaso Teofili

        Activity

        Tommaso Teofili created issue -
        Tommaso Teofili made changes -
        Field Original Value New Value
        Attachment SOLR-2581.patch [ 12481831 ]
        Hide
        Koji Sekiguchi added a comment -

        I'll commit tomorrow.

        Show
        Koji Sekiguchi added a comment - I'll commit tomorrow.
        Koji Sekiguchi made changes -
        Assignee Koji Sekiguchi [ koji ]
        Fix Version/s 3.3 [ 12316471 ]
        Fix Version/s 4.0 [ 12314992 ]
        Affects Version/s 3.2 [ 12316172 ]
        Affects Version/s 3.1 [ 12314371 ]
        Affects Version/s 4.0 [ 12314992 ]
        Hide
        Koji Sekiguchi added a comment -

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

        Show
        Koji Sekiguchi added a comment - trunk: Committed revision 1135009. 3x: Committed revision 1135010.
        Koji Sekiguchi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Robert Muir added a comment -

        Bulk close for 3.3

        Show
        Robert Muir added a comment - Bulk close for 3.3
        Robert Muir made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Koji Sekiguchi
            Reporter:
            Tommaso Teofili
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development