This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Search Engine

 
Davie Rom
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to write a search engine for a web application, online-recruitment. When user give a keyword, the search engine will return a set of result which consists of available jobs. But I dont have any idea for writing it !

I would like to know some ideas about search engine.

Thank you for your help in advance. Thank you !
 
David Ulicny
Ranch Hand
Posts: 724
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basic question is if you will search in files or in database.
 
Davie Rom
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your reading my threat,

In my web application, I use the database to store all the records. How can i search for a record via a search engine with a keyword given from HTML FORM ?
 
David Ulicny
Ranch Hand
Posts: 724
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use LIKE clause in select statement. But some databases has a fulltext searching functionality.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13047
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The best known Java text search engine is the open source Lucene project.
However you decide to proceed, I strongly suggest that you do NOT start by writing JSP - put your search methods into a class that can be tested outside the servlet-JSP environment. Development will be much faster and debugging simpler.
Bill
 
David Ulicny
Ranch Hand
Posts: 724
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi William, does Lucene support searching in database or only on file system, I cannot find on their homepage.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic