Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The "SolrConfigXml" page has been changed by FredrikRodland:
http://wiki.apache.org/solr/SolrConfigXml?action=diff&rev1=61&rev2=62

Comment:
datadir is not relative to instanceDir - it's relative to where you stand when 
you start SOLR (at least for SOLR4.1)

- = solrconfig.xml =
+ = esolrconfig.xml =
  solrconfig.xml is the file that contains most of the parameters for 
configuring Solr itself.
  
  TODO: Document /get - see [RealTimeGet]
@@ -13, +13 @@

  `<lib>` directives can be specified in your solrconfig.xml to specify where 
Solr should look to load SolrPlugins.  The 
[[https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/solr/collection1/conf/solrconfig.xml|example
 solrconfig.xml]] contains main examples of the syntax.
  
  == dataDir parameter ==
- 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.  If this directory is not absolute, then it is 
relative to the instanceDir of the SolrCore configuration.
+ 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.  If this directory is not absolute, then it is 
relative to the directory you're in when you start SOLR.
  
  {{{
    <dataDir>/var/data/solr</dataDir>

Reply via email to