Hi,
There is no difference. In addition to the index for paging, you just have a tag property. So
# or SearchableModel
class MyProperty(db.Model):
# For paging
index = db.IntegerProperty()
my_tags = db.StringListProperty()
For the first page, you do a fetch like this:
results = MyProperty.all().filter('my_tags =', tag).order('-index').fetch(11)
if len(results) == 11:
next_page = results[10].index
So the next page you would fetch /tag/my_tag?start=[next_page]
And the query for this would be:
results = MyProperty.all().filter('my_tags =', tag).filter('index <=', next_page)order('-index').fetch(11)
if len(results) == 11:
next_page = results[10].index
All adding tags does is introduce an additional property to filter on, along with the index for paging.
-Marzia