File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Implementing the search functionality in java applications

 
Sunitha Mudidani
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please tell me how to implement the search functionality in java web applications.
As this is a common functionality in many applications, pls suggest me the different ways of implementation also.

Thanks in advance
Sunitha
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The approach to searching depends a lot on what you want to search - a database, a collection of static web pages, a collection of document files (like Word, PDF, ...), a collection oy dynamic web pages, ...

There are Java libraries that can help with any of these. A good one is Jakarta Lucene, which can create and search indexes of searchable stuff. The Nutch project built on top of Lucene indexes and searches web pages.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it's a public website, you could also simply add a google search to the site (see the side bar at http://www.javaranch.com).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic