On Wed, Jun 2, 2010 at 4:34 PM, Massimiliano <[email protected]> wrote: > I'm using this filter() to build a search engine in the datastore. So I > don't only want to show the exact result.
There's already some full text solutions, google it and you may found (hosted at code.google.com) > > > 2010/6/2 Geoffrey Spear <[email protected]> >> >> >> On Jun 2, 3:10 pm, Massimiliano <[email protected]> >> wrote: >> > Thanks! >> > But... The "=" checks if the string is equal of what I have in the >> > datastore. I need to check if the string is in the string in the >> > datastore. >> > Uhm. Can you help me? >> >> The datastore can't do substring searches. The best you can do is a >> prefix search by filtering with >= 'yourprefix' and < u'yourprefix' + >> u'\uffdd'. >> >> -- >> 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. >> > > > > -- > > My email: [email protected] > My Google Wave: [email protected] > > -- > 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. > -- 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.
