5

I'm trying to implement a basic 'search' system across multiple entities. I know that there is no like operator support in GQL, but that leaves with the problem of an efficient, straightforward way of performing searches across my entities.

What is the idiomatic way of performing such searches in Google App Engine/Java ?

Community
  • 1
  • 1
Robert Munteanu
  • 63,405
  • 31
  • 191
  • 270

2 Answers2

1

Have a look at the answer to this question which suggests Lucene.

Community
  • 1
  • 1
tgdavies
  • 5,328
  • 3
  • 28
  • 34
0

Maybe you are looking for the Datastore Java API?

bjg
  • 7,427
  • 1
  • 22
  • 21
  • Sorry, read it already. But maybe I missed the part about 'full-text searches'. Is there such an entry? – Robert Munteanu Jul 04 '10 at 23:18
  • Ok, hadn't understood that you needed full-text searching. Have you looked at http://github.com/ultrasaurus/full-text-search-appengine? Not sure if you were looking at Rails for your framework but even so the approach used here may be of some help in your intended framework – bjg Jul 04 '10 at 23:53
  • Actually I need this to work with GAE/Java. In SQL it's pretty simple. – Robert Munteanu Jul 05 '10 at 06:47
  • It is easy in SQL, but the idea of GAE datastore is to scale to force you to make it work on a huge scale (even if you never need that). That said, are you looking for "starts" with type queries or the ability to specify a wildcard anywhere in the data? – Dave Mar 18 '11 at 01:48