实现搜索文档(PDF,XML,HTML,MS Word)的最佳方法是什么?
问题描述:
在Java Web应用程序中为搜索文档编写搜索功能的一种好方法是什么?
What could be a good way to code a search functionality for searching documents in a java web application?
标记搜索"是否适合此类搜索功能?
Is 'tagged search' a good fit for such kind of search functionality?
答
为什么要重新发明轮子?
Why re-invent the wheel?
查看 Apache Lucene .
此外,在Stack Overflow中搜索全文本搜索",您还会发现很多其他非常相似的问题.例如,这是另一个: 如何在网站中实现搜索功能?
Also, search Stack Overflow for "full text search" and you'll find a lot of other very similar questions. Here's another one, for example: How do I implement Search Functionality in a website?