• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Search Engine for a website

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What have you got so far?
What are you stuck on?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you run the demo? It shows how to create an index and then search it.
 
reply
    Bookmark Topic Watch Topic
  • New Topic