title: Apache Cassandra integration with Apache Solr
body: <p>I'm familiar with Apache Solr on an MSSQL database, but now I'm looking how I can integrate Apache Solr with Apache Cassandra instead of my MSSQL database. </p>
  
  <p>I'm looking for tutorials and first steps setting up this integration, but can't find anything useful.</p>
  
  <p>With an MSSQLDB my data-config would look like this for example:</p>
  
  <pre><code>&lt;dataConfig&gt;
  &lt;dataSource driver="com.microsoft.sqlserver.jdbc.SQLServerDriver" url="jdbc:sqlserver://localhost:1433;databaseName=test" user="sa" password="74667fghbjj3" /&gt;
  &lt;document name="cameras"&gt;
      &lt;entity name="camera" query="select * from cameras WHERE isapproved='true'"
      deltaImportQuery="select * from cameras WHERE updatedate &amp;lt; getdate() AND isapproved='true' AND id='${dataimporter.delta.id}'"
      deltaQuery="select id from cameras where isapproved='true' AND updatedate &amp;gt; '${dataimporter.last_index_time}'"&gt;              
          &lt;field name="id" column="ID" /&gt;
          &lt;field name="title" column="TITLE" /&gt;
          &lt;field name="friendlyurl" column="FRIENDLYURL" /&gt;           
  
          &lt;entity name="camera_country" query="select countryid from cameras where id=${camera.id}"&gt;
              &lt;entity name="countries" query="select title_nl as country_nl,title_en as country_en from countries where id = ${camera_country.countryid}"&gt;
              &lt;/entity&gt;
          &lt;/entity&gt;
      &lt;/entity&gt;
  &lt;/document&gt;
  &lt;/dataConfig&gt;
  </code></pre>
  
  <p>But how would I go about this using Cassandra as my NOSQL DB?</p>
  
  <p>Thanks!</p>