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

        Attachments

        1. SOLR-2581.patch
          7 kB
          Tommaso Teofili

          Activity

            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: