@@ -0,0 +1,1290 @@
+package io.redlink.smarti.configuration;%0A%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.context.annotation.Bean;%0Aimport org.springframework.context.annotation.Configuration;%0Aimport org.springframework.data.mongodb.MongoDbFactory;%0Aimport org.springframework.data.mongodb.core.convert.DbRefResolver;%0Aimport org.springframework.data.mongodb.core.convert.DefaultDbRefResolver;%0Aimport org.springframework.data.mongodb.core.convert.MappingMongoConverter;%0Aimport org.springframework.data.mongodb.core.mapping.MongoMappingContext;%0A%0A/**%0A * As Smarti configurations might contain map keys with '.' (dot) we need%0A * to configure a replacement '%E2%80%A2'%0A * @author Rupert Westenthaler%0A *%0A */%0A@Configuration%0Apublic class MongoConfig %7B%0A%0A    @Autowired%0A    private MongoDbFactory mongoFactory;%0A%0A    @Autowired%0A    private MongoMappingContext mongoMappingContext;%0A%0A    @Bean%0A    public MappingMongoConverter mongoConverter() throws Exception %7B%0A        DbRefResolver dbRefResolver = new DefaultDbRefResolver(mongoFactory);%0A        MappingMongoConverter mongoConverter = new MappingMongoConverter(dbRefResolver, mongoMappingContext);%0A        mongoConverter.setMapKeyDotReplacement(%22%E2%80%A2%22);%0A        mongoConverter.afterPropertiesSet();%0A        return mongoConverter;%0A    %7D%0A%7D

fix for #193: Added a Mongo Configuration that replaces `.` in field names with `•`. This is necessary as some configurations and analysis results (we cache in Mongo) may use `.` in keys of maps.