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

Look for jars in SOLR_TIP/lib/

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.1
    • None
    • None

    Description

      From dev list thread:

      Another minor improvement for users is if we pre-add $SOLR_TIP/lib to the classloader, similar to what we have with $SOLR_HOME/lib today. The disadvantage of $SOLR_HOME/lib is that it can be anywhere, perhaps on a Docker volume or a different disk, so you cannot e.g make a Dockerfile like

      FROM solr:9.0
      ADD foo.jar /var/solr/data/lib/foo.jar

      ...since /var/solr/data is a volume and will resolve to the volume partition of the user, not the content from the image. So if we instead allow users to do

      FROM solr:9.0
      ADD foo.jar /opt/solr/lib/

      That is both logical and beautiful, and would always work.

      Attachments

        Issue Links

          Activity

            People

              janhoy Jan Høydahl
              janhoy Jan Høydahl
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 50m
                  3h 50m