Hey, 

i am new to gaepython, I have been trying to find nearby areas to a given 
location.. I found search api could do this, what i couldn't figure out is 
that* what will be config.STORE_INDEX_NAME*. When is used this exact code 
it says "* NameError: name 'config' is not defined*"


from google.appengine.api import search

query = "distance(geopoint(35.2, 40.5), geopoint(35.2, 40.5)) < 100"
index = search.Index(config.STORE_INDEX_NAME)
search_results = index.search(query)

Thanks in advance

-- 
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/360c8c9c-dcc1-4ada-91d0-5cf7d77d5499%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to