public ActivityQuery newActivityQuery() {
return new ActivityQuery();
}
public Result<Activity> search(ActivityQuery query, QueryContext options) {
ActivityIndex index = indexClient.get(ActivityIndex.class);
return new Result<Activity>(index, index.search(query, options));
}