I'm pretty new to app engine so there may be some gotcha's in what I say, but I think my logic is ok.
It seems you have a pretty simple table with a few fields (name, brand, description) and you want to be able to search any one of the words in any of the fields. I'd suggest building a search term table. Keep your current process of adding data to your table, your search table will reference the data it contains. The search table will be something like class searchTerms(db.Model): value = db.StringProperty() key = db.KeyProperty() # If there's no such thing use the id To build the search table tokenize the name, brand and description so that you have a list of separate words. Add each of these words to the search terms table with the key that references the item in your data table. When you want to search via keyword(s) you just query the value field of the searchTerms table. You will however need to do a query for each search term. Hope that helps, cheers --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
