<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Geo/Spatial search using Sphinx search and php</title>
	<atom:link href="http://www.god-object.com/2009/10/20/geospatial-search-using-sphinx-search-and-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.god-object.com/2009/10/20/geospatial-search-using-sphinx-search-and-php/</link>
	<description>Because I know too much</description>
	<lastBuildDate>Tue, 07 Sep 2010 07:59:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: webpatser</title>
		<link>http://www.god-object.com/2009/10/20/geospatial-search-using-sphinx-search-and-php/comment-page-1/#comment-900</link>
		<dc:creator>webpatser</dc:creator>
		<pubDate>Sun, 22 Aug 2010 20:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.god-object.com/?p=132#comment-900</guid>
		<description>This is correct. Like I replied in the second comment, you need a field with some content, otherwise the result is empty.

This could easily be a fake value. While building the index you can just insert in &#039;a&#039; in a field.

I don&#039;t know when this is fixed.</description>
		<content:encoded><![CDATA[<p>This is correct. Like I replied in the second comment, you need a field with some content, otherwise the result is empty.</p>
<p>This could easily be a fake value. While building the index you can just insert in &#8216;a&#8217; in a field.</p>
<p>I don&#8217;t know when this is fixed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johni</title>
		<link>http://www.god-object.com/2009/10/20/geospatial-search-using-sphinx-search-and-php/comment-page-1/#comment-891</link>
		<dc:creator>Johni</dc:creator>
		<pubDate>Fri, 20 Aug 2010 19:30:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.god-object.com/?p=132#comment-891</guid>
		<description>Querying simply id, lat, long results in a empty index when i try this. I fixed it by adding the Field 1 to the field list so it actualy has content to index. It seems it doesn&#039;t count lat and lon as content and thinks the dataset is empty. Has anybody a better solution for this Problem?</description>
		<content:encoded><![CDATA[<p>Querying simply id, lat, long results in a empty index when i try this. I fixed it by adding the Field 1 to the field list so it actualy has content to index. It seems it doesn&#8217;t count lat and lon as content and thinks the dataset is empty. Has anybody a better solution for this Problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bas</title>
		<link>http://www.god-object.com/2009/10/20/geospatial-search-using-sphinx-search-and-php/comment-page-1/#comment-696</link>
		<dc:creator>Bas</dc:creator>
		<pubDate>Fri, 25 Jun 2010 10:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.god-object.com/?p=132#comment-696</guid>
		<description>Does this geodist function search as if it was searching on a globe or is it searching on a flat map?
Or is this a setting?
Can&#039;t find this anywhere.</description>
		<content:encoded><![CDATA[<p>Does this geodist function search as if it was searching on a globe or is it searching on a flat map?<br />
Or is this a setting?<br />
Can&#8217;t find this anywhere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webpatser</title>
		<link>http://www.god-object.com/2009/10/20/geospatial-search-using-sphinx-search-and-php/comment-page-1/#comment-355</link>
		<dc:creator>webpatser</dc:creator>
		<pubDate>Sat, 20 Mar 2010 07:15:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.god-object.com/?p=132#comment-355</guid>
		<description>Hi Mike,

You can easily sort the results:

Just add
[php]$search-&gt;SetSortMode ( SPH_SORT_EXTENDED, &quot;@geodist asc&quot;);[/php]</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>You can easily sort the results:</p>
<p>Just add</p>
<pre class="brush: php;">$search-&gt;SetSortMode ( SPH_SORT_EXTENDED, &quot;@geodist asc&quot;);</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.god-object.com/2009/10/20/geospatial-search-using-sphinx-search-and-php/comment-page-1/#comment-354</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 19 Mar 2010 21:58:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.god-object.com/?p=132#comment-354</guid>
		<description>Any tips on sorting by distance? Closest first...

I manged to get this functional in a Codeigniter application I&#039;ve been working on... Just need to figure out the pagination! 

Thanks!</description>
		<content:encoded><![CDATA[<p>Any tips on sorting by distance? Closest first&#8230;</p>
<p>I manged to get this functional in a Codeigniter application I&#8217;ve been working on&#8230; Just need to figure out the pagination! </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webpatser</title>
		<link>http://www.god-object.com/2009/10/20/geospatial-search-using-sphinx-search-and-php/comment-page-1/#comment-41</link>
		<dc:creator>webpatser</dc:creator>
		<pubDate>Tue, 17 Nov 2009 07:17:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.god-object.com/?p=132#comment-41</guid>
		<description>You mean the SetGeoAnchor function? Be sure to really send floats to that function. The sphinxapi.php class is relay strict in variable types.

Also I noticed that if you create an index with only geo data, the search fails. It needs some text field (that is filled on every row), otherwise the search will not return any results. I&#039;ll will update the article with this &#039;bug&#039;.</description>
		<content:encoded><![CDATA[<p>You mean the SetGeoAnchor function? Be sure to really send floats to that function. The sphinxapi.php class is relay strict in variable types.</p>
<p>Also I noticed that if you create an index with only geo data, the search fails. It needs some text field (that is filled on every row), otherwise the search will not return any results. I&#8217;ll will update the article with this &#8216;bug&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.god-object.com/2009/10/20/geospatial-search-using-sphinx-search-and-php/comment-page-1/#comment-40</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Tue, 17 Nov 2009 01:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.god-object.com/?p=132#comment-40</guid>
		<description>Hi I&#039;m struggling to get this working - my indexes are fine, but for some reason I can&#039;t get it to recognise the GeoAnchor.</description>
		<content:encoded><![CDATA[<p>Hi I&#8217;m struggling to get this working &#8211; my indexes are fine, but for some reason I can&#8217;t get it to recognise the GeoAnchor.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
