These types of queries don't usually need indexes - unless they are too difficult to do without the index. In this case you would need an index that is along the lines of: - kind: Article properties: - name: __searchable_text_index - name: __searchable_text_index - name: __searchable_text_index etc, depending on the number of keywords you are using in your query.
Unfortunately, queries needing this type of index have a high correspondence rate with exploding indexes ( http://code.google.com/appengine/docs/datastore/queriesandindexes.html#Big_Entities_and_Exploding_Indexes), so it's probable that this index can't be built. -Marzia On Tue, Sep 30, 2008 at 3:35 PM, Venkatesh Rangarajan < [EMAIL PROTECTED]> wrote: > Its a search able model ? The documentation says they don't need indexes. > Can you please advice me what index I should add ? > > Here is my query below. > > def db_visas(keyword, offset): > visas=[] > query = search.SearchableQuery('Visa') > query.Search(keyword) > for result in query.Get(101, offset): > visas.append(result) > return visas > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
