Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Search Engine

 
Mike Yu
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I need to develop a search engine for my company's website, that is, if a user type a word in the search field and click search, then it will find all the pages that contain that word in my website.
We use WebSphere application server and WebSphere commerce suite, and all pages are JSP or HTML pages.
Most websites have such search function, just like JavaRanch. So there much be some standard methods to do it. Can someone tell me how to develop this kind of search engine?
Many thanks,
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't develop one -- buy one. Search Engines are complex things to develop that require very sophisticated algorithms that most people simply aren't up on. You just can't have the average Joe Developer build one for you.
For instance, you can buy Altavista here:
http://solutions.altavista.com/
or Google here:
http://www.google.com/services/
In fact, if you do a search on Google for search engines for purchase, you'll probably find dozens...
Kyle
 
Matthew X. Brown
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A free search engine is available that is open source and all java. Lucene is the name of the project and was developed by one of the architects that did alta vista.
http://jakarta.apache.org/lucene/docs/index.html
 
Paul Lessard
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HTDig is also available as part of the standard RPM packages for Linux 7.2. It's not just a single server indexer, it's a crawler. You simply specify the servers that it should crawl and it does it.
HTH
-Paul
 
Mike Yu
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Kyle, Matthew and Paul,
Thank you so much for your valuable advices.
Mike
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic