https://gist.github.com/emmanuelbernard/3ca431a8fa58b69cf6c3
<
https://gist.github.com/emmanuelbernard/3ca431a8fa58b69cf6c3>
//curent
QueryBuilder b = ftem.getSearchFactory().buildQueryBuilder().forEntity( Hike.class
).get();
//a bit shorter
QueryBuilder b = ftem.buildQueryForEntity( Hike.class ).get();
// shortest but no field overriding
QueryBuilder b = ftem.buildQueryForEntity( Hike.class );
Thoughts?