@Override protected void serialize( MappingSerializer serializer ) { for ( String indexName : indexManager.relationshipIndexNames() ) { RelationshipIndex index = indexManager.forRelationships( indexName ); serializer.putMapping( indexName, new RelationshipIndexRepresentation( indexName, indexManager.getConfiguration( index ) ) ); } }
@Override protected void serialize(final MappingSerializer serializer) { indexManager.nodeIndexNames(); for (String indexName : indexManager.nodeIndexNames()) { Index<Node> index = indexManager.forNodes(indexName); serializer.putMapping( indexName, new NodeIndexRepresentation(indexName, indexManager.getConfiguration(index))); } }