File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Where to get a search engine? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Where to get a search engine?" Watch "Where to get a search engine?" New topic
Author

Where to get a search engine?

Ivan Jouikov
Ranch Hand

Joined: Jul 22, 2003
Posts: 269
Hi!

I just need a simple web engine for my web site, that would index my pages by crawling them, and then would give me some simple API to proccess and display queries.

I was looking at quite a few of them:

Egothor - just too complicated configuration, not something that I want for a simple web site.

Java Search Engine - not only is it free with closed source code, but it also doesn't work (when you follow instructions 100%)

Nutch - couldn't figure out how to get it to work.

Writing my own would be way too time consuming. Can anybody recommend anything?
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Lucene + Spindle. Although I have to say that Spindle wasn't the greatest crawler on Earth. Lucene is great.

- Peter
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
yeah i agree with peter. you will find a nice tutorial + sample in the following book.

Professional Struts Application
(building web sites with struts, ObjectRelationalBridge, Lucene, and velocity)

by jhon carnell
jeff linwood
maciej zawadzki

ISBN: 1-86100781-7
[ September 02, 2004: Message edited by: adeel ansari ]
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17258
    
    6

Originally posted by adeel ansari:
yeah i agree with peter. you will find a nice tutorial + sample in the following book.

Professional Struts Application
(building web sites with struts, ObjectRelationalBridge, Lucene, and velocity)

by jhon carnell
jeff linwood
maciej zawadzki

ISBN: 1-86100781-7

[ September 02, 2004: Message edited by: adeel ansari ]


Agreed, however, this is only in the first edition. Lucene is not covered in the second edition.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Vijay Vaddem
Ranch Hand

Joined: Feb 13, 2004
Posts: 243
We used Lucene in our project....

Its nice
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Can anyone point to a clean example of using Lucene to re-index one changed file? I saw some examples that I could not follow and gave up and reindexed my whole site every 15 minutes. That's a pretty yucky solution.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where to get a search engine?