title: Remote streaming with Solr
body: <p>I'm having trouble using remote streaming with Apache Solr. </p>
  
  <p>We previously had Solr running on the same server where the files to be indexed are located so all we had to to was pass it the path of the file we wanted to index.</p>
  
  <p>We used something like this:</p>
  
  <pre><code>stream.file=/path/to/file.pdf
  </code></pre>
  
  <p>This worked fine. We have now moved Solr so that it runs on a different server to the website that uses it. This was because it was using up too many resources.</p>
  
  <p>I'm now using the following to point Solr in the direction of the file:</p>
  
  <pre><code>stream.file=http://www.remotesite.com/path/to/file.pdf
  </code></pre>
  
  <p>When I do this Solr reports the following error:</p>
  
  <pre><code>http:/www.remotesite.com/path/to/file.pdf (No such file or directory)
  </code></pre>
  
  <p>Note that it is stripping one of the slashes from http://.</p>
  
  <p>How can I get Solr to index a file at a certain URL like i'm trying to do above? The enableRemoteStreaming parameter is already set to true.</p>
  
  <p>Thank you</p>