<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Geonames MongoDB admin code structure suggestions"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "Geonames MongoDB admin code structure suggestions"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Geonames MongoDB admin code structure suggestions</title>
				<description><![CDATA[ Hello all,

First off thank you for such a wonderful gazetteer database.

I am creating a mobile app that will let people search all geoname cities hosted in a mongoDB.

I have created a database from AllCountries.zip. Using MongoDb is great when using the geospatial index for really fast location-aware queries.

Regarding admin codes, I am debating whether or not to store them in each document or use a dictionary in the mobile device.

For a search of "Los Angeles, CA" there is no easy way of finding the record with MongoDB since the dictionaries reside in the mobile device. MongodB can only search one collection at a time so having several collections with admin codes doesn't work either. Storing admin code content in the document would severely increase the database size however.

Is there a recommended course for using admin codes with MongoDB? 

Many thanks!]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4054.page#12035</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4054.page#12035</link>
				<pubDate><![CDATA[Tue, 27 Nov 2012 06:32:12]]> GMT</pubDate>
				<author><![CDATA[ sz1a]]></author>
			</item>
	</channel>
</rss>