[appengine-java] Like query in google datastore

2010-04-01 Thread Manjoor
I have a simple java class with following attributes Candidates.java name skills education currentEmployer I need app-engine java equevalent code of the following SQL query Select * from Candidates where (name like '%searchcontent%') OR (skills like '%searchcontent%') OR (education like

Re: [appengine-java] Like query in google datastore

2010-04-01 Thread Gal Dolber
There is no easy way to do that. Problems: 1. Appengine do not support fulltext queries 2. Appengine do not support OR Solutions: 1. Make your own fulltext search implementation 2. Use IN operand 2010/4/1 Manjoor manjoora...@gmail.com I have a simple java class with following

Re: [appengine-java] Like query in google datastore

2010-04-01 Thread John Patterson
Like Gal said, you would need to make your own full-text search. You don't need an OR query if all values are in a single multi-valued property. You could do this by creating an index entity: CandidatesSearch { @Parent Candidate source; ListString words; } It is a child of