<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -7,7 +7,7 @@ module Sunspot #:nodoc:
     class Server
       
       class &lt;&lt; self
-        delegate :log_file, :log_level, :port, :solr_home, :data_path, :pid_path, :to =&gt; :configuration
+        delegate :log_file, :log_level, :port, :solr_home, :to =&gt; :configuration
         
         # Name of the sunspot executable (shell script)
         SUNSPOT_EXECUTABLE = (RUBY_PLATFORM =~ /w(in)?32$/ ? 'sunspot-solr.bat' : 'sunspot-solr')
@@ -59,6 +59,17 @@ module Sunspot #:nodoc:
         def config_path
           File.join( solr_home, 'conf' )
         end
+        
+        # 
+        # Directory to store lucene index data files
+        #
+        # ==== Returns
+        #
+        # String:: data_path
+        #
+        def data_path
+          File.join( solr_home, 'data', ::Rails.env )
+        end
 
         # 
         # Directory to store custom libraries for solr
@@ -71,6 +82,17 @@ module Sunspot #:nodoc:
           File.join( solr_home, 'lib' )
         end
         
+        # 
+        # Directory to store pid files
+        #
+        # ==== Returns
+        #
+        # String:: pid_path
+        #
+        def pid_path
+          File.join( solr_home, 'pids', ::Rails.env )
+        end
+        
         #
         # Bootstrap a new solr_home by creating all required
         # directories. </diff>
      <filename>lib/sunspot/rails/server.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>24715838c08f69c58cbcb1992e8b91c3ec0a298e</id>
    </parent>
  </parents>
  <author>
    <name>Mat Brown</name>
    <email>mat@patch.com</email>
  </author>
  <url>http://github.com/outoftime/sunspot_rails/commit/db3972441b64aab2b66984f4d314b3809fe57613</url>
  <id>db3972441b64aab2b66984f4d314b3809fe57613</id>
  <committed-date>2009-11-06T07:20:38-08:00</committed-date>
  <authored-date>2009-11-06T07:20:38-08:00</authored-date>
  <message>Revert &quot;Delegate the data_path and pid_path to the Configuration object so that when the server is started it respects the user's configuration settings.&quot;

This reverts commit 669d530ff865970b7890c94bd0df8f6c8550c18f.

This causes failing tests - reverting until Benjamin can take a look.</message>
  <tree>392667f4940f498809f61cbdfbc54a0b02ea9ed8</tree>
  <committer>
    <name>Mat Brown</name>
    <email>mat@patch.com</email>
  </committer>
</commit>
