*survey_marker = ndb.GeoPt("35.2, 40.5")*
*query = "distance(survey_marker , geopoint(35.2, 40.5)) < 10000"*
*index = search.Index(name="myIndex")*
*search_results = index.search(query)*
*print search_results*
*for doc in search_results:*
* print doc*
I tried this but it always gives this result on exectuing :
*search.SearchResults(number_found=0L)*
Also read an thread on this at stackoverflow which says it doesnt works on
local machine.. so I deployed a test application but the result is no
different.
Plz help me with this.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/6833f0fe-027f-40d2-b3c5-36631e5342ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.