// register custom converters
Map converters = new HashMap();
Map context = new HashMap();
context.put("customConverters", converters);
Converter converter = new StringMapConverter();
configuration.registerConverter(StringMapConverter.CONVERTER_NAME, converter);
converters.put(StringMapConverter.CONVERTER_NAME, converter);
// register analyzers used internally
configuration.getSettings().setSetting("compass.engine.analyzer.searchableplugin_whitespace.type", "whitespace");