<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: DSE Solr : Getting null response for data already in cassandra</title>
		<link>http://www.datastax.com/support-forums/topic/dse-solr-getting-null-response-for-data-already-in-cassandra</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 14:06:49 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/dse-solr-getting-null-response-for-data-already-in-cassandra" rel="self" type="application/rss+xml" />

		<item>
			<title>shruti on "DSE Solr : Getting null response for data already in cassandra"</title>
			<link>http://www.datastax.com/support-forums/topic/dse-solr-getting-null-response-for-data-already-in-cassandra#post-7625</link>
			<pubDate>Thu, 22 Nov 2012 05:18:58 +0000</pubDate>
			<dc:creator>shruti</dc:creator>
			<guid isPermaLink="false">7625@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I resolved the issue by doing a solr commit in my application , every time there is an insert/delete in cassandra db through my Hector layer .&#60;/p&#62;
&#60;p&#62;This works fine for now , but in high load scenarios this may be a performance bottleneck .&#60;/p&#62;
&#60;p&#62;Also still my question regarding &#38;lt;autoCommit&#38;gt; in solrconfig.xml stands in DSE  , as changes made to &#38;lt;autoCommit&#38;gt; did not lead to commit actually.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shruti on "DSE Solr : Getting null response for data already in cassandra"</title>
			<link>http://www.datastax.com/support-forums/topic/dse-solr-getting-null-response-for-data-already-in-cassandra#post-7600</link>
			<pubDate>Wed, 21 Nov 2012 05:28:09 +0000</pubDate>
			<dc:creator>shruti</dc:creator>
			<guid isPermaLink="false">7600@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thanks for clarifying . Does this mean that Solr reads data from SSTables and not from memtables ?&#60;/p&#62;
&#60;p&#62;Now , writes in my application happens through Hector API and Solr is been used just to GET the data , so I cannot append commit=true in Solr query . &#60;/p&#62;
&#60;p&#62;Going through Solr docs , I came across in solrconfig.xml -&#60;/p&#62;
&#60;p&#62;  &#38;lt;autoCommit&#38;gt;&#60;br /&#62;
         &#38;lt;maxTime&#38;gt;100&#38;lt;/maxTime&#38;gt;&#60;br /&#62;
   &#38;lt;/autoCommit&#38;gt; &#60;/p&#62;
&#60;p&#62;And &#60;/p&#62;
&#60;p&#62;&#38;lt;autoSoftCommit&#38;gt;&#60;br /&#62;
       &#38;lt;maxTime&#38;gt;10&#38;lt;/maxTime&#38;gt;&#60;br /&#62;
     &#38;lt;/autoSoftCommit&#38;gt;&#60;/p&#62;
&#60;p&#62;However , after changing these I could not see any difference . &#60;/p&#62;
&#60;p&#62;Is there any other way of setting auto commit in Solr in DSE (2.2) , So that whatever data is written to Cassandra is immediately available through Solr search query without any delay .&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Piotr Kołaczkowski on "DSE Solr : Getting null response for data already in cassandra"</title>
			<link>http://www.datastax.com/support-forums/topic/dse-solr-getting-null-response-for-data-already-in-cassandra#post-7590</link>
			<pubDate>Tue, 20 Nov 2012 18:04:35 +0000</pubDate>
			<dc:creator>Piotr Kołaczkowski</dc:creator>
			<guid isPermaLink="false">7590@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;This is how normally Solr works. DSE puts data into Solr immediately, but Solr makes them available first when they are committed. Commits happen on memtable flush (so every document eventually will be committed) or you can trigger them manually by appending commit=true param to your Solr update request.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shruti on "DSE Solr : Getting null response for data already in cassandra"</title>
			<link>http://www.datastax.com/support-forums/topic/dse-solr-getting-null-response-for-data-already-in-cassandra#post-7585</link>
			<pubDate>Tue, 20 Nov 2012 14:39:29 +0000</pubDate>
			<dc:creator>shruti</dc:creator>
			<guid isPermaLink="false">7585@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi All , &#60;/p&#62;
&#60;p&#62;I am facing a situation where queries through Solr do not return any data , even when data exists in Cassandra .&#60;/p&#62;
&#60;p&#62;My application is inserting data using Hector Api on CF indexed through Solr .&#60;br /&#62;
When I try to fetch data immediately using Solr Http Api , it doesnot return me any data , however if fetch after some millisecond delay , rows are returned .&#60;/p&#62;
&#60;p&#62;Also , whenever doing insert and get through HECTOR API , I am getting the rows always .&#60;/p&#62;
&#60;p&#62;Seems to me like there is a delay when Cassandra inserts data and if Solr tries to fetch in this time , it gets null response .&#60;/p&#62;
&#60;p&#62;Still I am not very clear , as there was nothing which could be found on internet as well .&#60;/p&#62;
&#60;p&#62;Does anyone have idea , how  Solr Read data from Cassandra ?  Does it look into CL / Memtable /SSTable ? &#60;/p&#62;
&#60;p&#62;Or is there any configuration in solrconfig.xml / cassandra.yaml , which could help in removing this situation .&#60;/p&#62;
&#60;p&#62;Any help / hint will be appreciated !!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
