In this paper, a Drosophila optimization algorithm based on linear decreasing step size and logical chaos mapping is firstly proposed as a metadata search method for electronic archives, which optimizes the stability of the FOA algorithm by introducing techniques such as logical chaos mapping theory. The quality assessment system of electronic archive metadata is constructed from three aspects, namely, form, content and utility, and an electronic archive evaluation model based on AHP-cloud model is established to realize the intelligent management of electronic archives. The results show that the method proposed in this paper not only fully takes into account the ambiguity and randomness of the evaluation results, but also makes the evaluation results more reliable, and its order in the similarity of the comprehensive cloud of evaluation results are: excellent>good>middling>poor>poor, and the distribution range of the comprehensive cloud is almost in the range of the “excellent” evaluation grade, which is extremely good and practical. Practicality. The completeness of data collection of this paper’s e-file evaluation model is improved by nearly 40% on the 50th day compared with the comparison model, which effectively improves the operational efficiency of the system. In addition, the e-file evaluation model in this paper has the highest check accuracy and completeness of information of 98.38% and 94.32% respectively, and its comprehensive evaluation results are more accurate.