//use an EntityDataProvider based on the indexed data
EntityDataProvider dataProvider = new YardEntityDataProvider(indexingDestination.getYard());
//use an LineBasedEntityIterator to iterate over the indexed entity ids
EntityIterator entityIterator;
try {
entityIterator = new LineBasedEntityIterator(getEntityIdFileInputStream(),"UTF-8",null);
} catch (IOException e) {
throw new IllegalStateException("Unable to open file containing the " +
"IDs of the indexed Entities!",e);
}
Map<String,Object> config = new HashMap<String,Object>();