在android应用中搜索pdf的内容. [英] searching through the content of pdf in android app.

查看:295
本文介绍了在android应用中搜索pdf的内容.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须开发一个应用程序,在其中我需要阅读pdf文件并嵌入搜索功能,以便我可以搜索任何单词或短语,并且结果应将我定向到包含该单词或短语的句子.仅读取pdf却没有搜索功能的源库.因此,一些可以指导我如何进行操作,谢谢...如果我不够清楚,请让我知道.

i have to develop an app where i need to read a pdf file and embed search functionality so that i could search any word or phrase and the result should direct me to the sentence containing that word or phrase.i have used an open source library that only reads the pdf but does not have search functionality.so can some guide me how to proceed,Thanks in Advance...and please let me know if i am not clear enough.

推荐答案

通常使用诸如lucene等的索引引擎在内容中进行搜索: http://lucene.apache. org/core/ [ ^ ]
Searching within contents is usually done with an indexing engine like lucene etc. : http://lucene.apache.org/core/[^]


这篇关于在android应用中搜索pdf的内容.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆