Distributed energy is the key to developing smart energy. Taking the distributed energy system in an industrial park as an example, the system generates massive structured time series data, such as productivity data, energy consumption data, and equipment data, and also generates unstructured data files, such as documents, forms, audio and video data. Because of the heterogeneity of data sources, the system uses HBase database as a storage carrier. Therefore, a secondary index scheme based on ElasticSearch+HBase is proposed and a data retrieval system is built based on the positive order index adopted in HBase. The experimental results show that this data retrieval design scheme meets the retrieval requirements.