I am able to display all the fields except doc_id in template,i know it 
should be available as property but its not displaying anything when i try 
to use doc_id.I am able to display other fields by 

{{result.field_name.0.value}}

but doc_id is not working.

On Wednesday, September 25, 2013 9:42:06 AM UTC+5:30, Vinny P wrote:
>
> On Sun, Sep 15, 2013 at 12:11 AM, Vikas Sharma 
> <netca...@gmail.com<javascript:>
> > wrote:
>
>> I am using app engine search api to search within documents. the results 
>> returned are displayed on the django template.i am able to display all 
>> the fields in template except the *doc_id* of the result. can someone 
>> please help me to figure how to display doc_id in the template?
>>
>
>
> Python should make *doc_id* available as a property on the document. Is 
> this not working for you?
>
> See https://developers.google.com/appengine/training/fts_intro/lesson2and 
> scroll down to the *Processing 
> the Query Results* header for example code. 
>   
>  
> -----------------
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>  
>

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to