wood burning stoves 2.0*
The moose likes Java in General and the fly likes Implementing the search functionality in java applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Implementing the search functionality in java applications" Watch "Implementing the search functionality in java applications" New topic

Implementing the search functionality in java applications

Sunitha Mudidani

Joined: Apr 25, 2006
Posts: 28

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
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41068
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.

Ping & DNS - my free Android networking tools app
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
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).

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Implementing the search functionality in java applications
Similar Threads
How add functionality from another program
The find method
Network Programming In Java
Notepad with compile/Run
Multi-pane User Interface