There are multiple problems:
- The format, inspired from JSON, is not very human-readable. Something similar to YAML would be better.
- The node types are mentioned in a "class" attribute, but wouldn't just prepending them before the "{" be better? E.g. "myType { ... }
" instead of " {class = myType, ...} "
- The node types, in the "class" attributes, are very technical and verbose, such as PojoIndexingProcessorPropertyNode (just "property" would be enough).
- Some types included in the tree don't have a toString() method: MappedIndexManagerImpl, RoutingKeyProvider$$Lambda$578/1859227008, SimpleBeanHolder, PropertyIdentifierMapping, ...
- Some types included in the tree are much too verbose in their toString() method. For example LuceneIndexSchemaFieldNode includes the whole parent while it should only include the parent path, and includes the various predicate/sort/projection factories which are not necessary (and they don't have a toString() method anyway).
- And maybe more: let's have a closer look.
Example:
|