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

        Hide
        Koji Sekiguchi added a comment -

        I'll commit tomorrow.

        Show
        Koji Sekiguchi added a comment - I'll commit tomorrow.
        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.
        Hide
        Robert Muir added a comment -

        Bulk close for 3.3

        Show
        Robert Muir added a comment - Bulk close for 3.3

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development