Skip to content

Instantly share code, notes, and snippets.

@mchelen
Created February 25, 2011 11:33
Show Gist options
  • Save mchelen/843677 to your computer and use it in GitHub Desktop.
Save mchelen/843677 to your computer and use it in GitHub Desktop.
patches solrconfig.xml from search_api_solr with the dataDir path preferred by ubuntu
--- solrconfig.xml 2010-11-26 21:27:11.000000000 +0000
+++ solrconfig.xml.new 2011-02-25 11:30:56.130820954 +0000
@@ -69,7 +69,7 @@
<!-- Used to specify an alternate directory to hold all index data
other than the default ./data under the Solr home.
If replication is in use, this should match the replication configuration. -->
- <dataDir>${solr.data.dir:./solr/data}</dataDir>
+ <dataDir>/var/lib/solr/data</dataDir>
<!-- WARNING: this <indexDefaults> section only provides defaults for index writers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment