<?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: Search and TTL</title>
		<link>http://www.datastax.com/support-forums/topic/search-and-ttl</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 22:25:33 +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/search-and-ttl" rel="self" type="application/rss+xml" />

		<item>
			<title>Sven on "Search and TTL"</title>
			<link>http://www.datastax.com/support-forums/topic/search-and-ttl#post-8775</link>
			<pubDate>Tue, 29 Jan 2013 19:39:47 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">8775@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;You would probably also have to establish a C* connection from the client to issue the update command. I don't believe there is any purely solr based way to control that. I will file a feature request for that.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>fredespi on "Search and TTL"</title>
			<link>http://www.datastax.com/support-forums/topic/search-and-ttl#post-8772</link>
			<pubDate>Tue, 29 Jan 2013 17:45:08 +0000</pubDate>
			<dc:creator>fredespi</dc:creator>
			<guid isPermaLink="false">8772@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thank you. It seems you need to set ttl for each column you update or insert. Ok but how do I do that from a solr client?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>alexliu on "Search and TTL"</title>
			<link>http://www.datastax.com/support-forums/topic/search-and-ttl#post-8771</link>
			<pubDate>Tue, 29 Jan 2013 16:44:44 +0000</pubDate>
			<dc:creator>alexliu</dc:creator>
			<guid isPermaLink="false">8771@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;You can follow this link to set the ttl for the column.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.datastax.com/docs/1.0/references/cql/INSERT&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/docs/1.0/references/cql/INSERT&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>fredespi on "Search and TTL"</title>
			<link>http://www.datastax.com/support-forums/topic/search-and-ttl#post-8758</link>
			<pubDate>Tue, 29 Jan 2013 09:31:40 +0000</pubDate>
			<dc:creator>fredespi</dc:creator>
			<guid isPermaLink="false">8758@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thanks. Could you give me an example? I uploaded a solrconfig and schema file and the resulting solr column now exists (as described in &#60;a href=&#34;http://www.datastax.com/docs/datastax_enterprise2.0/search/dse_search_start#running-the-dse-search-demo)&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/docs/datastax_enterprise2.0/search/dse_search_start#running-the-dse-search-demo)&#60;/a&#62; . How do I set TTL?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>alexliu on "Search and TTL"</title>
			<link>http://www.datastax.com/support-forums/topic/search-and-ttl#post-8740</link>
			<pubDate>Mon, 28 Jan 2013 18:08:57 +0000</pubDate>
			<dc:creator>alexliu</dc:creator>
			<guid isPermaLink="false">8740@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;when you create a column, you can specify the ttl for the column. The ttl is per column, it's not set per column family.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>fredespi on "Search and TTL"</title>
			<link>http://www.datastax.com/support-forums/topic/search-and-ttl#post-8661</link>
			<pubDate>Fri, 25 Jan 2013 10:33:38 +0000</pubDate>
			<dc:creator>fredespi</dc:creator>
			<guid isPermaLink="false">8661@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thanks Sven.&#60;/p&#62;
&#60;p&#62;But I don't understand. It seems to me that the post you linked to explains how to make sure the solr index is synchronized more often with the expired cassandra data. When ttl is set (somehow) on the data, and it expires in cassandra, the solr index may still have the data indexed (unless compactation has run) and you will get erroneous results. With the suggested solution those discrepancies decrease. I find it a little difficult to understand how exactly to get this to work as well, but my main problem is that I don't understand how to set ttl in the first place. I understand how to do it using cqlsh but not using solr api calls. I guess my question is: is ttl supposed to be set with every insert/update or do you set it once on a CF? If it's the first case, how do you do it with solr api calls?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sven on "Search and TTL"</title>
			<link>http://www.datastax.com/support-forums/topic/search-and-ttl#post-8638</link>
			<pubDate>Thu, 24 Jan 2013 19:01:34 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">8638@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;You may want to check out &#60;a href=&#34;http://www.datastax.com/dev/blog/cassandra-column-ttl-support-in-dse-search&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/dev/blog/cassandra-column-ttl-support-in-dse-search&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Sven
&#60;/p&#62;</description>
		</item>
		<item>
			<title>fredespi on "Search and TTL"</title>
			<link>http://www.datastax.com/support-forums/topic/search-and-ttl#post-8631</link>
			<pubDate>Thu, 24 Jan 2013 12:46:13 +0000</pubDate>
			<dc:creator>fredespi</dc:creator>
			<guid isPermaLink="false">8631@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I don't understand how to get TTL set on a solr CF. My understanding is that it might be possible to set a property on the CF, or that I need to set the TTL for each insert or update; either way it seems I need to use cassandra-cli or cqlsh. My question is how to do it when I do updates using the solr APIs?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
