refactor solrManager, formHierarchyArr function added