On Wed, Jun 2, 2010 at 4:34 PM, Massimiliano <massimiliano.pietr...@gmail.com> 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 <geoffsp...@gmail.com> >> >> >> On Jun 2, 3:10 pm, Massimiliano <massimiliano.pietr...@gmail.com> >> 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 google-appeng...@googlegroups.com. >> To unsubscribe from this group, send email to >> google-appengine+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/google-appengine?hl=en. >> > > > > -- > > My email: massimiliano.pietr...@gmail.com > My Google Wave: massimiliano.pietr...@googlewave.com > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appeng...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > 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 google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.