基于Lucene的搜索引擎的实现

时间:2021-08-12 04:09:15
【文件属性】:
文件名称:基于Lucene的搜索引擎的实现
文件大小:540KB
文件格式:ZIP
更新时间:2021-08-12 04:09:15
SSS 完整代码,基于Lucene的分词,根据搜索引擎的目标和基本内容,将实现功能模块主要划分为创建中文分析器(创建索引)、读取索引文件查询记录、根据输入的内容进行分词、根据关键字进行全文检索、将结果按JSON格式输出到前台。修改数据库连接,以及索引的Field的值(可参照我的文章《索引的建立》进行修改,即可用于其他功能)
【文件预览】:
Analyse
----src()
--------com()
--------json()
----.classpath(2KB)
----.settings()
--------org.eclipse.wst.jsdt.ui.superType.container(49B)
--------org.eclipse.wst.common.project.facet.core.xml(414B)
--------org.eclipse.core.resources.prefs(273B)
--------org.eclipse.wst.jsdt.ui.superType.name(6B)
--------org.eclipse.wst.common.component(570B)
--------.jsdtscope(522B)
--------org.eclipse.jdt.core.prefs(364B)
----.project(1KB)
----WebRoot()
--------META-INF()
--------index.jsp(1KB)
--------Images()
--------WEB-INF()

网友评论