张则飞 茅克勤 蒋婵娟 杨万康

摘要:为促进海洋数据的应用和共享 , 有力支撑海洋空间资源管理 , 文章通过构建海洋综合数据库和数据分类 ,采用Solr技术实现对海洋空间资源的多源、异构和海量数据搜索。研究结果表明: Solr是专业、高效和开源的搜索引擎 ,基于海洋综合数据库平台 , 可实现对海洋空间资源的基础搜索、业务数据搜索、搜索定制和搜索展现 ,具有搜索字段更加丰富、搜索速度更快、搜索结果更加准确和搜索结果展现形式更加多样等优点。
关键词:海洋空间资源;数据中心;大数据;数据库;搜索引擎
中图分类号:N37;TP392;P74 文献标志码:A 文章编号:1005-9857(2021)12-0098-05
Application Research of Marine Space Resources Search Based on Solr
ZHANG Zefei1,MAO Keqin1,JIANG Chanjuan1,YANG Wankang2
(1.Marine Academy of Zhejiang Province,Hangzhou 310012,China;
2.Second Institute of Oceanography,MNR, Hangzhou 310012,China)
Abstract:In order to promote the application and sharing of marine data and effectivelysupport the management of marine spatial resources, this paper constructed an integratedmarine database and data classification, and used Solr technology to realize the multi-source,heterogeneous and massive data search of marine spatial resources. The results showed thatSolr was a professional, efficient and open source search engine. Based on the marine comprehensive database platform, Solr could realize the basic search, business data search, searchcustomization and search display of marine space resources. It had the advantages of richersearch fields, faster search speed, more accurate search results and more diverse displayforms of search results.
Keywords:Ocean space resources,Data center,Big data,Database,Search engines
0 引言
隨着海洋战略地位的提升 , 海洋基础调查投入日益加大 ,信息采集技术不断发展 , 各类海洋空间资源数据日趋丰富 , 导致数据量急剧增加和数据种类繁多[1]。因此 ,搭建一体化管理的数据库并实现快速有效检索 ,是目前海洋空间资源数据库构建和应用必须面对的问题[2]。本研究以浙江省建设海洋多数据、多来源和多类型综合数据库为例 , 探索基于Solr的海洋空间资源搜索应用 , 实现对多元、多源、异构和海量数据的快速有效检索。
1 Solr技术及其特点
1.1 Solr的定义
人们都有使用搜索功能的经历 ,无论是浏览网站还是办理业务 ,搜索存在于生活的方方面面。在强大的搜索功能背后通常须消耗巨大的资源 ,且随着数据量的增加 ,对资源的消耗越来越大。为解决这一问题 ,须将搜索功能转移到外部服务器 , 通过建立索引完成搜索任务 ,并极大地减少对数据库本身的直接消耗。……