Filter searchFilter2 = CompositeFilterOperator.and(searchFilterSubject1,searchFilterSubject2);
Filter searchFilter = CompositeFilterOperator.or(searchFilter1,searchFilter2);
Filter queryFilter = CompositeFilterOperator.and(searchFilter,userFilter);
Query q = new Query(ENTITY_KIND_NOTE).setFilter(queryFilter);
PreparedQuery prepq = datastore.prepare(q);
List<Entity> notes = prepq.asList(FetchOptions.Builder.withDefaults());
List<Note> results = new ArrayList<Note>();
for(Entity eNote : notes){
Note note = Transformer.entity2Note(eNote);
results.add(note);
}