• Post Reply Bookmark Topic Watch Topic
  • New Topic

Search Engine for a website  RSS feed

 
sayan maity
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need to develop a search engine for a website in Java. I have went through Apache Lucene but failed to understand.
Can you please help me with some tutorial or java code to implement the search engine in the website?

Thanks and regards,
Sayan Maity
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you got so far?
What are you stuck on?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you want to search - text files, HTML files, JSP files, images, a CMS, a database, ... ?

Which part of Lucene is giving you trouble - indexing documents or searching the index? Some demos and introductions are available.
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sayan maity:
Hi,
I need to develop a search engine for a website in Java. I have went through Apache Lucene but failed to understand.
Can you please help me with some tutorial or java code to implement the search engine in the website?

Thanks and regards,
Sayan Maity


I have worked little bit on lucene, it's an index based search API.
Where are you facing the problem?
[ September 13, 2006: Message edited by: rathi ji ]
 
sayan maity
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
It will be a text based search.
Basically, I am not able to find a way to start with.

Thanks and regards,
Sayan Maity
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you run the demo? It shows how to create an index and then search it.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!