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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.4, 7.0
    • Component/s: examples
    • Labels:
      None
    • Environment:

      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

          Activity

            People

            • Assignee:
              arafalov Alexandre Rafalovitch
              Reporter:
              arafalov Alexandre Rafalovitch

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment