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

Allow setting solr.data.dir with JNDI

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • update
    • None

    Description

      I would like to be able set the solr.data.dir with JNDI, as I can for the solr.home property. Currently the data directory is only looked up in the ${solr.home}/conf/solrconfig.xml file, or as a parameter passed into the SolrCore(String, IndexSchema) constructor.

      This allows more options for setting the data directory, such as from within a Servlet container's Context fragment.

      Attachments

        1. jndi-data-dir.patch
          3 kB
          Stu Hood

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stuhood Stu Hood
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: