Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Search Engine

 
Davie Rom
Greenhorn
Posts: 8
  • 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
  • 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
  • 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
  • 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: 13074
6
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic