ElasticSearchMappingStore { protected Class<?> convertType(String type) { if (type.equalsIgnoreCase(ElasticSearchIndexProvider.ES_TEXT_TYPE) || type.equalsIgnoreCase(ElasticSearchIndexProvider.ES_KEYWORD_TYPE)) { return String.class; } else { return loadClass(type); } } ElasticSearchMappingStore(ElasticSearchIndexProvider indexProvider); void updateMetaModel(KObject object,
                                MetaObject metaObject); MetaObject getMetaObject(String clusterId,
                                    String type);  }
@Test public void testConvertType() { assertEquals(String.class, this.store.convertType("text")); assertEquals(String.class, this.store.convertType("keyword")); assertEquals(String.class, this.store.loadClass("string")); assertEquals(Long.class, this.store.loadClass("long")); assertEquals(Integer.class, this.store.loadClass("integer")); }