Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Wiki Markup
Solr supports system property substitution, allowing the launching JVM to specify string substitutions within either of Solr's configuration files.  The syntax {{$\{property\[:default value\]}}}.  Substitutions are valid in any element or attribute text.  Here's an example of allowing the runtime to dictate the data directory:

No Format

   <dataDir>${solr.data.dir:./solr/data}</dataDir>

And using the example application, Solr could be launched in this manner:

...