converterLookup.configure(configuration.getSettings().copy());
for (String converterName : customConverters.keySet()) {
converterLookup.registerConverter(converterName, customConverters.get(converterName));
}
DefaultCompassConverterLookupHelper converterLookupHelper = new DefaultCompassConverterLookupHelper();
converterLookupHelper.setConverterLookup(converterLookup);
SearchableGrailsDomainClassPropertyMappingFactory domainClassPropertyMappingFactory = new SearchableGrailsDomainClassPropertyMappingFactory();
domainClassPropertyMappingFactory.setDefaultFormats(defaultFormats);
domainClassPropertyMappingFactory.setConverterLookupHelper(converterLookupHelper);