Lets say you have book "Harry potter"
If you want to search this withH or Ha Har Harr then this facility provided
by google  app engine, instead of Like use startWith .

Else if you really want to search it with "arry" or "rry" basically any word
in it, then you may saev every book name as Set<String> (Not List avod
duplicates)
save following strings in  Set and you will be bale to search it...
H
A
R
Y
HA
AR
RR
RY
HAR
ARR
RRY
HARR
ARRY
HARRY


Ravi.

On Mon, Aug 29, 2011 at 11:56 AM, J.Ganesan <[email protected]>wrote:

> Why don't you consider splitting the keywords and maintaining a
> memcache-resident HashMap<String,id> ?
>
> J.Ganesan
> www.DataStoreGwt.com
>
>
> On Aug 26, 9:25 pm, realdope <[email protected]> wrote:
> > Hi,
> >
> > I know that you cannot do a "LIKE" clause in BigTable. How do you get
> around
> > this issue?
> >
> > Suppose I'm making a book database, and I want to implement a search
> > function that compares titles against a random string. What is a
> plausible
> > mechanism with which to do so?
> >
> > Any help would be appreciated!
>
> --
> 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.
>
>

-- 
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