doco icon indicating copy to clipboard operation
doco copied to clipboard

Constructing search queries with Doco

Open tj-recess opened this issue 11 years ago • 2 comments

Is it possible to construct search queries below using Doco? String queryString = "product: piano AND price < 5000";

tj-recess avatar Sep 18 '14 10:09 tj-recess

Yeap! You can do all searches (and everything else) you do without DOCO. Doco does for the Search API what Objectify does for the datastore: use a plain old java class to describe the searchable fields in a document.

marcosvidolin avatar Sep 18 '14 14:09 marcosvidolin

That's very interesting. I couldn't find any example on http://www.vidolima.com/projects/doco/index.html. Could you please update the ReadMe or something else to show how to construct queries using object fields?

tj-recess avatar Sep 18 '14 14:09 tj-recess