title: NiFi PutSolrContentStream How do I add path params?
body: <p>I am running a 3 node SOLR cloud and have connectivity to zookeeper via NiFi. I am wondering how to add path parameters you would see from a regular solr update to the PutSOLRContentStream processor.</p>
  
  <p>my working curl:</p>
  
  <pre><code>/solr/my_collection/update&amp;stream.file=/opt/files/$file&amp;commit=true&amp;separator=%7C&amp;stream.contentType=text/csv;charset=utf-8&amp;fieldnames=...
  </code></pre>
  
  <p>Errors I'm getting from PutSOLRContentStream processor: (taken from nifi-app.log)</p>
  
  <pre><code>org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
  from server at 
  http://my_solr_server:8983/solr/my_collection_shard#: Expected mime type 
  application/octet-stream but got text/html. &lt;html&gt;
  
  
  &lt;body&gt;&lt;h2&gt;HTTP ERROR 404&lt;/h2&gt;
  &lt;p&gt;Problem accessing 
  /solr/my_collection_shard#/update/extract&amp;amp;commit=true&amp;amp;separator=%7C&amp;amp;
  charset=utf-8&amp;amp;fieldnames=... Reason:
  &lt;pre&gt;    Not Found&lt;/pre&gt;&lt;/p&gt;
  </code></pre>
  
  <p>How do I convert my curl into a working PutSOLRContentStreamProcessor? (Specifically, how can i properly fill out the "Content Stream Path" and "Content-Type" fields in the processor, and whether or not I need to add any further fields)</p>