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

Module loading does not work when using SOLR_MODULES in solr.in.sh

    XMLWordPrintableJSON

Details

    Description

      As documented there are several ways to enable Solr modules.

      When using -Dsolr.modules=analysis-extras all works as expected and the start up produces following log:

      2022-09-09T12:31:41.911492838Z 2022-09-09 12:31:41.910 INFO  (main) [] o.a.s.c.SolrResourceLoader Added 12 libs to classloader, from paths: [/opt/solr/modules/analysis-extras/lib]
      2022-09-09T12:31:41.911590590Z 2022-09-09 12:31:41.911 INFO  (main) [] o.a.s.c.NodeConfig Added module analysis-extras. libPath=/opt/solr/modules/analysis-extras/lib with 12 libs 

      But when using SOLR_MODULES=analysis-extras in solr.in.sh the module is not loaded.

      Additionally i checked the `solr` (under /opt/bin/solr) script itself and /opt/solr/bin/solr.in.sh is included

       

      Attachments

        Activity

          People

            janhoy Jan Høydahl
            thomas.woeckinger Thomas Wöckinger
            Votes:
            0 Vote for this issue
            Watchers:
            5 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 - 2h 20m
                2h 20m