Did you add anything into your index before querying it? Can you see your 
data on the admin page (i.e. http://127.0.0.1:8000/search/index )? Can you 
show how you're indexing things?

Thanks,
Mihail.

On Tuesday, August 4, 2015 at 6:05:38 PM UTC+3, Sourabh Agrawal wrote:
>
> *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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/4bf95a98-388b-4985-ba13-2c5a62fe3e98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to