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

UpdateRequestProcessorChain for UIMA : runtimeParameters: not all types supported

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: update

      Description

      solrconfig.xml file has an option to override certain UIMA runtime
      parameters in the UpdateRequestProcessorChain section.

      There are certain UIMA annotators like RegexAnnotator which define
      "runtimeParameters" value as an Array which is not currently supported
      in the Solr-UIMA interface.

      In java/org/apache/solr/uima/processor/ae/OverridingParamsAEProvider.java,
      private Object getRuntimeValue(AnalysisEngineDescription desc, String
      attributeName) function defines override for UIMA analysis engine
      runtimeParameters as they are passed to UIMA Analysis Engine.
      runtimeParameters which are currently supported in the Solr-UIMA interface are:
      String
      Integer
      Boolean
      Float

      I have made a hack to fix this issue to add Array support. I would
      like to submit that as a patch if no one else is working on fixing
      this issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arafalov Alexandre Rafalovitch
                Reporter:
                harshl Harsh P
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: