<?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: Do not trigger Solr commit when updating a stored only field</title>
		<link>http://www.datastax.com/support-forums/topic/do-not-trigger-solr-commit-when-updating-a-stored-only-field</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Sun, 26 May 2013 08:48:00 +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/do-not-trigger-solr-commit-when-updating-a-stored-only-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Anonymous on "Do not trigger Solr commit when updating a stored only field"</title>
			<link>http://www.datastax.com/support-forums/topic/do-not-trigger-solr-commit-when-updating-a-stored-only-field#post-2048</link>
			<pubDate>Wed, 06 Jun 2012 18:43:35 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">2048@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi rockbrain,&#60;br /&#62;
i actually make it work!&#60;br /&#62;
I was aware of the links you posted. I don't understand why it wasn't behaving as expected but it's sorted now :)&#60;/p&#62;
&#60;p&#62;I still have a curiosity, as it's mentioned in the other topic (&#60;a href=&#34;http://www.datastax.com/support-forums/topic/re-indexing-partial-fields-in-dse-20)&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/support-forums/topic/re-indexing-partial-fields-in-dse-20)&#60;/a&#62;, whenever you update a field, under the hood the entire document is deleted and added from the Solr index. Does it means that it performs a soft-commit?&#60;/p&#62;
&#60;p&#62;I guess these information are stored in memory. Is there a way to limit the amount of memory used (i imagine a case where you have a lot of updates which means a lot of memory used to keep these new documents before being flushed to disk).&#60;br /&#62;
thank you!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Do not trigger Solr commit when updating a stored only field"</title>
			<link>http://www.datastax.com/support-forums/topic/do-not-trigger-solr-commit-when-updating-a-stored-only-field#post-2038</link>
			<pubDate>Tue, 05 Jun 2012 21:05:31 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">2038@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Edo, Ok sounds like it could be a bug.  Are you aware of this?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.datastax.com/docs/datastax_enterprise2.0/search/dse_search_cluster#updating-individual-fields-in-a-solr-document&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/docs/datastax_enterprise2.0/search/dse_search_cluster#updating-individual-fields-in-a-solr-document&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Also this is a thread on a similar topic:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.datastax.com/support-forums/topic/re-indexing-partial-fields-in-dse-20&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/support-forums/topic/re-indexing-partial-fields-in-dse-20&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Internally DSE is getting the key from Solr then loading the data from Cassandra.  Maybe there is a missing step that requires a commit.  Is there a large problem with calling even a soft commit for you?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Do not trigger Solr commit when updating a stored only field"</title>
			<link>http://www.datastax.com/support-forums/topic/do-not-trigger-solr-commit-when-updating-a-stored-only-field#post-2032</link>
			<pubDate>Mon, 04 Jun 2012 20:09:58 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">2032@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi rockbrain,&#60;br /&#62;
i have tried with both SolrJ and CQL.&#60;/p&#62;
&#60;p&#62;Just to keep you in the loop, in case someone else is interested, i tried to make few changes to the Solr configuration, but without luck :(&#60;br /&#62;
 - removed the autocommit option which is set in solrconfig.xml (updateHandler). Without it the commit is not fired but documents are not updated&#60;br /&#62;
 - removed Solr documentCache&#60;/p&#62;
&#60;p&#62;After a partial update if you inspect the document using CQL changes are visible (as expected). However with a Solr query the document remains unchanged until a commit is called (or you restart DSE).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Do not trigger Solr commit when updating a stored only field"</title>
			<link>http://www.datastax.com/support-forums/topic/do-not-trigger-solr-commit-when-updating-a-stored-only-field#post-2029</link>
			<pubDate>Mon, 04 Jun 2012 16:20:20 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">2029@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi, great question.  Are you using SolrJ or CQL to update the document / row?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Do not trigger Solr commit when updating a stored only field"</title>
			<link>http://www.datastax.com/support-forums/topic/do-not-trigger-solr-commit-when-updating-a-stored-only-field#post-2021</link>
			<pubDate>Sat, 02 Jun 2012 01:27:46 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">2021@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I am trying DSE and Solr.&#60;br /&#62;
I started from the wikipedia example and i changed the Solr schema setting a field as stored only. I am amazed from the fact that stored fields (with indexed=false) are not persisted inside the Solr index, great feature!&#60;/p&#62;
&#60;p&#62;I tried to execute a partial update on one document, changing the value of the stored-only field. I saw that the update triggers a Solr commit with a subsequent cache refresh.&#60;br /&#62;
I am just wondering if it make sense to avoid the Solr commit when stored-only fields are updated. Ideally it could improve query performance since caches are not regenerated.&#60;/p&#62;
&#60;p&#62;What do you think? Is it something doable?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
