Adding search facility to Struts jsp based website

S

Suhel Rizvi

I am looking for a way to add a search box on our Struts jsp based
website so that users can search for keywords to access pages on our
site.

Has anybody done this and if so how ?
 
J

JavaJunkie

I have done it using Apache Lucene. You must write a separate crawler to
crawl the website using HTTP and build a Lucene index. Then you can write a
search tool using Struts by using the same Lucene index to do searches on.

Hint...look at this tool: http://www.matuschek.net/software/jobo/index.html

Use it to crawl a site and it includes Lucene convenience methods to build
your index.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top