/** * Create a search type from a potentially nullable set of string. If they are null, or empty, then allTypes is * returned otherwise the type will be returned */ public static SearchTypes fromNullableTypes( final String... types ) { if ( isEmpty( types ) ) { return allTypes(); } return fromTypes( types ); }
for ( i=0; i < expectedPages; i++ ) { final CandidateResults results = !offset.isPresent() ? entityIndex.search( indexEdge, SearchTypes.allTypes(), query, limit, 0, false ) : entityIndex.search(indexEdge, SearchTypes.allTypes(), query, limit, i * limit, false); final CandidateResults results = entityIndex.search(indexEdge, SearchTypes.allTypes(), query, limit, i * limit, false);