Group property into elasticsearch

(Ha Lan Quyen) #1

Hi everyone,

I have a query in SQL like this:
Criteria crit = session.createCriteria(SignupLog.class);
if (start != null) {
crit.add("reqDate", start));
if (finish != null) {
crit.add(Restrictions.le("reqDate", finish));
if (website != null) {
crit.add(Restrictions.eq("website", website));
if (org != null) {
crit.add(Restrictions.eq("organisation", org));

And for now I want to do it by using elasticsearch? How can I do it?

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit

(system) #2