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

In files example, update-script.js scripting URP fails with method signature mismatch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.0
    • 6.4, 7.0
    • examples
    • None
    • Mac
      java version "1.8.0_31"

    Description

      Following the files example README:
      bin/solr start
      bin/solr create -c files -d example/files/conf
      bin/post -c files docs/solr-analytics/index.html # (just one reproducible example)

      Unable to invoke function processAdd in script: update-script.js: Can't unambiguously select between fixed arity signatures [(java.lang.String, java.io.Reader), (java.lang.String, java.lang.String)] of the method org.apache.solr.analysis.TokenizerChain.tokenStream for argument types [java.lang.String, null]
      

      Attachments

        1. SOLR-9005.patch
          1.0 kB
          Alexandre Rafalovitch

        Activity

          People

            arafalov Alexandre Rafalovitch
            arafalov Alexandre Rafalovitch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: