I haven't got it...what is the 'index' for in your code? For different tags,
they have different index for an object.
3rd question is about search the model.

On Tue, Dec 9, 2008 at 4:03 AM, Marzia Niccolai <[EMAIL PROTECTED]> wrote:

> Hi,
>
> If you store the tags in a list, you should be able filter on that list
> using a simple equals filter, something like:
>
> MyProperty.all().filter('my tags =', tag).filter('index <=',
> starting_index).fetch(10)
>
> Assuming you don't have a large number of tags (a couple per entry), this
> shouldn't result in an exploding index.
>
> The third question, if I interpret it correctly, is about using the Google
> Search AJAX API? If you want to use the search API for your site, and page
> through the results on your site, it seems you can do pagination with their
> API, the docs are available here:
>
> http://code.google.com/apis/ajaxsearch/documentation/reference.html#_class_GSearch
>
> -Marzia
>
>
> On Sun, Dec 7, 2008 at 6:51 PM, lookon <[EMAIL PROTECTED]> wrote:
>
>>
>> I've got how to page to some extent..But I still have some problems
>>
>> 1.What's the best way to implement tag to a model
>>
>> 2.in this way, how to page the tag page?
>>
>> for example, http://a.appspot.com/tag/google, I need to show all model
>> whose tag is google, and  I need to page it...
>>
>> 3.How to page the search result?
>> If I search Google, I will get all the result, and I don't know how to
>> page them.
>>
>> Thanks.
>>
>>
>
> >
>


-- 
Stay hungry,Stay foolish.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to