Home Hibernate Hibernatesearch Search Engine Interface
Questions:Ask|Latest


 
 

Share on Google+Share on Google+

Search Engine Interface

Advertisement
In this section we will describe about the search and index interface of our search engine.

Search Engine Interface

     

In this section we will describe about the search and index interface of our search engine. For searching and displaying the result we have nice interface, you can even modify it according to your requirement. For indexing the new pages of the website we have a form that takes the input from the user and then indexes into full text index.

Searching the website information:

1. Visit http://localhost:8080/roseindiasearch/ and you will see the following url

 

2. Enter the search criteria such as "Hibernate" in the search box and press "Search" button. 

3. Hibernate Search will search the data from Lucene Index and display on the page as shown below:

Adding new pages to the Lucene index:

 1. Go to the url http://localhost:8080/roseindiasearch/search.action by clicking on the "Add New Web Page" link as shown below:

2. Then enter the URL, Title and Page content as shown below:

  

3. Then click on the "Submit" button. Application will add the data into database as well as Lucene index.

Advertisement

Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: September 13, 2008

Ask Questions?    Discuss: Search Engine Interface   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
Kush Chaudhary
January 26, 2014
Lucene serach engine for website in Servlet JSP

Please send me the source code for search in website in lucene jsp servlet. I need it immediately.
DMCA.com