if(indexingDestination == null){
throw new IllegalArgumentException("The Yard MUST NOT be NULL!");
}
this.indexingDestination = indexingDestination;
if(entityProcessors == null){
this.entityProcessors = Collections.singletonList((EntityProcessor)new EmptyProcessor());
} else {
this.entityProcessors = entityProcessors;
}
setChunkSize(DEFAULT_CHUNK_SIZE); //init the chunk size and the cache
this.scoreNormaliser = normaliser;