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

UIMAToSolrMapper wrongly instantiates Type with reflection

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1, 3.2, 4.0-ALPHA
    • 3.3, 4.0-ALPHA
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: