I am using Google App Engine (Java) with JDO. How can I do the equivalent of JDO
select * from table where field like '%foo%'
The only recommendation I've seen so far is to use Lucene. I am a little surprised that some of this basic is not possible in the finished GAE.
App Engine. , App Engine , . , "". , , , - , .
, , , Lucene. Lucene on App Engine, GAELucene. , .
tl; dr: .
: , - , :
searchTerms. , .
searchTerms
, , . . , . . , . , .
, ( ) equals searchTerms.
( = , - .)
=
( Objectify):
Query query = dao.ofy().query(Recipe.class); for (String term : search.toLowerCase().split(" ")) { query = query.filter("searchTerms =", term); }