Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2581

UIMAToSolrMapper wrongly instantiates Type with reflection

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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

        Hide
        koji Koji Sekiguchi added a comment -

        I'll commit tomorrow.

        Show
        koji Koji Sekiguchi added a comment - I'll commit tomorrow.
        Hide
        koji Koji Sekiguchi added a comment -

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

        Show
        koji Koji Sekiguchi added a comment - trunk: Committed revision 1135009. 3x: Committed revision 1135010.
        Hide
        rcmuir Robert Muir added a comment -

        Bulk close for 3.3

        Show
        rcmuir Robert Muir added a comment - Bulk close for 3.3

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development