}
public EntityInfo extract(Hits hits, int index) throws IOException {
Document doc = hits.doc( index );
//TODO if we are only looking for score (unlikely), avoid accessing doc (lazy load)
EntityInfo entityInfo = extract( doc );
Object[] eip = entityInfo.projection;
if ( eip != null && eip.length > 0 ) {
for (int x = 0; x < projection.length; x++) {
if ( ProjectionConstants.SCORE.equals( projection[x] ) ) {