/**
* {@inheritDoc}
*/
@Override
public IndexStructure read(String file) throws IOException {
SolrStaticFieldsDefinitionReader reader = new SolrStaticFieldsDefinitionReader(new File(file));
SolrDynamicFieldsDefinitionReader readerDynamic = new SolrDynamicFieldsDefinitionReader(new File(file));
try {
List<FieldAttributes> fields = reader.readFields();
List<FieldAttributes> dynamicFields = readerDynamic.readFields();
IndexStructure structure = new BasicIndexStructure();
for (FieldAttributes field : fields) {
structure.addField(field.name(), field);
}