Use a properties file to choose between development v.s. production environments

In LucidWorks, it is possible to create variations of Solr configuration files with the '' file.

To use the feature, create a file called '' in Java properties format, and place it in the conf/ directory for your collection. In the solrconfig.xml file, you can use the property names as string substitutions. For example, you will find these lines:

<str name="dir">${}</str> 

This means that if '' is defined in, that will set the target data directory. You can use any property names you want, and can place string subtitutions anywhere in XML element text.

Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk