<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>deleting datastore indexes &#8211; Squix &#8211; TechBlog</title>
	<atom:link href="https://blog.squix.org/tag/deleting-datastore-indexes/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.squix.org</link>
	<description></description>
	<lastBuildDate>Sun, 17 Apr 2016 07:56:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.8</generator>
<site xmlns="com-wordpress:feed-additions:1">121913304</site>	<item>
		<title>Exporting your App Engine Data with a Sitemap of Sitemaps</title>
		<link>https://blog.squix.org/2011/03/exporting-your-app-engine-data-with.html</link>
					<comments>https://blog.squix.org/2011/03/exporting-your-app-engine-data-with.html#respond</comments>
		
		<dc:creator><![CDATA[Daniel Eichhorn]]></dc:creator>
		<pubDate>Sat, 19 Mar 2011 07:09:00 +0000</pubDate>
				<category><![CDATA[Common]]></category>
		<category><![CDATA[Bing]]></category>
		<category><![CDATA[deleting datastore indexes]]></category>
		<category><![CDATA[Google App Engine]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[sitemap]]></category>
		<category><![CDATA[sitemapindex]]></category>
		<guid isPermaLink="false">http://blog.squix.org/2011/03/19/exporting-your-app-engine-data-wi/</guid>

					<description><![CDATA[Currently there are about 200&#8217;000 archived items available in the Feederator database. In the hope to attract more traffic I wanted to make this data available to search engines. But how to make this data available to search engines without putting too much burden on ... <p><a class="read-more btn btn-secondary" href="https://blog.squix.org/2011/03/exporting-your-app-engine-data-with.html">Read More</a></p>]]></description>
										<content:encoded><![CDATA[<div dir="ltr" style="text-align: left;" trbidi="on">Currently there are about 200&#8217;000 archived items available in the Feederator database. In the hope to attract more traffic I wanted to make this data available to search engines. But how to make this data available to search engines without putting too much burden on my App Engine Quota. Certainly one big Sitemap wouldn&#8217;t work, because the call from a search engine would reach the 30 seconds limit of a Servlet call long before all the links to the different items could be created.<br />
Ok, that means breaking it down into smaller chunks. But how to distribute the data more or less equally? That was an easy one: since Feederator adds more or less the same quantity of new feed items to the archive I would have to separate the chunks by day. Every item already has a publishedDate, which marks the date of entry to the datastore. But that would be another problem: how to add all the different sitemaps to search engines like Google or Bing?<br />
Turns out there&#8217;s a solution for exactly that: a sitemap of sitemaps. The super sitemap file has to look as described <a href="http://www.google.com/support/webmasters/bin/answer.py?answer=71453">here</a>. So this file would contain one entry per day and could be generated relatively easy by iterating over all days in the last three months (the duration items are stored in the archive). I wouldn&#8217;t even have to know how many items are available per day in this stage. Just assume there are some, that&#8217;s enough.<br />
This looks like this:</p>
<blockquote><p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;sitemapindex xmlns=&#8221;http://www.sitemaps.org/schemas/sitemap/0.9&#8243;&gt;<br />
&lt;sitemap&gt;<br />
&lt;loc&gt;http://www.feederator.org/sitemap/2010-12-19&lt;/loc&gt;<br />
&lt;/sitemap&gt;<br />
&lt;sitemap&gt;<br />
&lt;loc&gt;http://www.feederator.org/sitemap/2010-12-20&lt;/loc&gt;<br />
&lt;/sitemap&gt;<br />
&lt;sitemap&gt;<br />
&lt;loc&gt;http://www.feederator.org/sitemap/2010-12-21&lt;/loc&gt;<br />
&lt;/sitemap&gt;<br />
&#8230;<br />
&lt;/sitemapindex&gt;</p></blockquote>
<p>In my case, the same servlet that creates the sitemapindex file also creates different per-date index files. To avoid huge quantities of XML overhead you can export the per-date sitemaps also in line by line format. The sitemap file for 2010-12-19 looks like this:</p>
<blockquote>
<blockquote><p>http://www.feederator.org/item/agpmZWVkZXJhdG9ychYLEg1GZWVkSXRlbU1vZGVsGLfUvwIM</p></blockquote>
<blockquote><p>http://www.feederator.org/item/agpmZWVkZXJhdG9ychYLEg1GZWVkSXRlbU1vZGVsGLjUvwIM</p></blockquote>
<blockquote><p>http://www.feederator.org/item/agpmZWVkZXJhdG9ychYLEg1GZWVkSXRlbU1vZGVsGLvUvwIM</p></blockquote>
<blockquote><p>http://www.feederator.org/item/agpmZWVkZXJhdG9ychYLEg1GZWVkSXRlbU1vZGVsGMHUvwIM</p></blockquote>
<blockquote><p>http://www.feederator.org/item/agpmZWVkZXJhdG9ychYLEg1GZWVkSXRlbU1vZGVsGNbUvwIM</p></blockquote>
<blockquote><p>http://www.feederator.org/item/agpmZWVkZXJhdG9ychYLEg1GZWVkSXRlbU1vZGVsGOTUvwIM</p></blockquote>
<div>
</div>
</blockquote>
<p>With one link per line. To write a servlet like that is pretty easy.&nbsp;</p></div>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.squix.org/2011/03/exporting-your-app-engine-data-with.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">93</post-id>	</item>
		<item>
		<title>How to delete index on App Engine for Java</title>
		<link>https://blog.squix.org/2010/12/how-to-delete-index-on-app-engine-for.html</link>
					<comments>https://blog.squix.org/2010/12/how-to-delete-index-on-app-engine-for.html#respond</comments>
		
		<dc:creator><![CDATA[Daniel Eichhorn]]></dc:creator>
		<pubDate>Wed, 22 Dec 2010 19:24:00 +0000</pubDate>
				<category><![CDATA[Common]]></category>
		<category><![CDATA[deleting datastore indexes]]></category>
		<category><![CDATA[GAE]]></category>
		<category><![CDATA[Google App Engine]]></category>
		<guid isPermaLink="false">http://blog.squix.org/2010/12/22/how-to-delete-index-on-app-engine-for/</guid>

					<description><![CDATA[At the time of this writing there is no function to delete (unused) your datastore indexes directly with the Java tool set. But there is a way around: the python SDK has a function called vacuum_indexes. This is how your can do it, step by ... <p><a class="read-more btn btn-secondary" href="https://blog.squix.org/2010/12/how-to-delete-index-on-app-engine-for.html">Read More</a></p>]]></description>
										<content:encoded><![CDATA[<p>At the time of this writing there is no function to delete (unused) your datastore indexes directly with the Java tool set. But there is a way around: the python SDK has a function called vacuum_indexes. This is how your can do it, step by step:</p>
<ol>
<li>Install the Google App Engine for Python SDK and follow the steps described for your operating system here:&nbsp;<a href="http://code.google.com/appengine/docs/python/gettingstarted/devenvironment.html">http://code.google.com/appengine/docs/python/gettingstarted/devenvironment.html</a></li>
<li>After you installed python, and the GAE for Python SDK, setup a project in a tmp folder, that has the same name as your Java project with the tools from the SDK. Pay attention on capital letters. Your project must have EXACT the same name as the Java version</li>
<li>[Optional] Deploy that to the app engine, but pay attention that you choose a version differently from all versions used by your java environment. You will be asked for your email and password</li>
<li>On the command line execute&nbsp;<i>appcfg.py vacuum_indexes pathToYourProject/</i></li>
<li>Then you have to decide which index you want to delete. Be careful. Deleting the wrong index can render your app temporarily unusable&#8230;</li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.squix.org/2010/12/how-to-delete-index-on-app-engine-for.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">99</post-id>	</item>
	</channel>
</rss>
