This thread shows how to use startsWith to achieve something akin to LIKE:

http://groups.google.com/group/google-appengine-java/browse_frm/thread/5e4ff1391f27347c

- Jason

On Mon, Sep 7, 2009 at 6:16 PM, mar_novice <[email protected]> wrote:

>
> By the way, i am using JDO.
>
> On Sep 8, 9:13 am, mar_novice <[email protected]> wrote:
> > Thanks for the tip Jason but i am looking for the app engine version
> > of the mysql query "like" function just like below....
> >
> > SELECT distinct(title) as suggest FROM page WHERE title like('" .
> >                 $search . "%') ORDER BY title"
> >
> > Sorry, I didn't ask more specific from my previous post.
> >
> > On Sep 5, 7:06 am, "Jason (Google)" <[email protected]> wrote:
> >
> > > By "they shouldn't be too hard to find," I meant that any examples you
> find
> > > shouldn't be too hard to tailor for App Engine, even if they are
> > > RDBMS-based.
> > > - Jason
> >
> > > On Fri, Sep 4, 2009 at 4:06 PM, Jason (Google) <[email protected]>
> wrote:
> > > > There are numerous tutorials out in the wild for this. I don't know
> of any
> > > > App Engine-specific examples, but they shouldn't be too hard to find.
> Since
> > > > App Engine doesn't currently support full-text search, you'll only be
> able
> > > > to match entities on their opening characters.
> >
> > > >http://www.dynamicajax.com/fr/AJAX_Suggest_Tutorial-.html
> > > >http://www.google.com/search?q=ajax+suggest
> >
> > > > - Jason
> >
> > > > On Thu, Sep 3, 2009 at 3:08 AM, mar_novice <[email protected]
> >wrote:
> >
> > > >> Hi,
> > > >>     I dont know how to implement a back-end for an autosuggest
> query.
> > > >> The idea is if a user type
> > > >> "sa", the servlet will query from the datastore, for example
> employee
> > > >> names that starts with "sa".
> >
> > > >> Any body knows how to implement this??
> >
> > > >> Thanks...
> >
> > > >> -mar_novice
> >
> >
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to