Thanks for answer, but that is for python. And what about java?

On 8 сен, 20:06, Eli Jones <[email protected]> wrote:
> One cheap workaround is to turn the description String property into a
> StringListProperty where each word is one of the list members.
>
> http://code.google.com/appengine/docs/python/datastore/typesandproper...
>
> <http://code.google.com/appengine/docs/python/datastore/typesandproper...>Thus,
> you could search for individual words in a description like so:
>
> Select * from MyClass where description = 'searchWord'
>
> And, any entity in MyClass that had the word 'searchWord' in its description
> would get returned.
>
> On Wed, Sep 8, 2010 at 1:42 AM, Yury Sintyaev <[email protected]> wrote:
> > GQL has no "like" condition. I want to implement search function in my
> > site. There is class MyClass. In MyClass there is field "String
> > description". This is text(500 chars). I want to make the query:
> > select * from MyClass where description like '%searchValue%'.
> > What is workarround?
> > Thanks for answer,
> > Yury.
>
> > --
> > 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]<google-appengine%[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.

Reply via email to