工业控制计算机
工業控製計算機
공업공제계산궤
INDUSTRY CONTROL COMPUTER
2012年
5期
103-104
,共2页
Lucene%PDF%全文检索%高亮显示
Lucene%PDF%全文檢索%高亮顯示
Lucene%PDF%전문검색%고량현시
在Lucene的全文检索中,直接对PDF文档进行全文检索几乎是不可能的.在实际应用中又需要对大量的PDF文档进行检索,通过Xpdf工具先对PDF文档转换为TXT文本,然后对TXT文本建立索引,在进行检索时通过文件名实现和原始PDF文档的一一对应,最终实现PDF文档的全文检索功能,同时还能实现对PDF文档所检索的包含关键词的内容进行高亮显示,实现全文检索的功能,通过实际项目应用,检索效果能够达到很好的效果.
在Lucene的全文檢索中,直接對PDF文檔進行全文檢索幾乎是不可能的.在實際應用中又需要對大量的PDF文檔進行檢索,通過Xpdf工具先對PDF文檔轉換為TXT文本,然後對TXT文本建立索引,在進行檢索時通過文件名實現和原始PDF文檔的一一對應,最終實現PDF文檔的全文檢索功能,同時還能實現對PDF文檔所檢索的包含關鍵詞的內容進行高亮顯示,實現全文檢索的功能,通過實際項目應用,檢索效果能夠達到很好的效果.
재Lucene적전문검색중,직접대PDF문당진행전문검색궤호시불가능적.재실제응용중우수요대대량적PDF문당진행검색,통과Xpdf공구선대PDF문당전환위TXT문본,연후대TXT문본건립색인,재진행검색시통과문건명실현화원시PDF문당적일일대응,최종실현PDF문당적전문검색공능,동시환능실현대PDF문당소검색적포함관건사적내용진행고량현시,실현전문검색적공능,통과실제항목응용,검색효과능구체도흔호적효과.