You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by "Bloem, E.J.W. van (Erik, Student CS)" <e....@student.utwente.nl> on 2006/12/12 15:08:07 UTC

lucene search

Hi,

 

I am building a portal where users are able to maintain a personal doc, placed in a database or dir on server.

I want the users to be able to search all other users doc's for keywords.

Like give me a top ten of documents containing the work bike.

 

Is Lucene useful for this? Or do you know a better approach?

 

 

Greetings,

 

Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: lucene search

Posted by Erick Erickson <er...@gmail.com>.
Well. searching documents for text is what Lucene is *made* for <G>. So,
yes, this would be a fine thing to use Lucene for. You'll have to deal with
coordinating between when a document is added to the directory and when it's
added to the Lucene index.

Also, give some thought to what form your documents are in. Are they Word
documents? PDFs? HTMLs? ...? You'll have in interesting time cracking the
formats of such documents, although searching this archive will give you
some ideas on how to do that. Simple HTML case: <b>E</b>rick should be
indexed as "Erick". Now do you make it so?

Best
Erick

On 12/12/06, Bloem, E.J.W. van (Erik, Student CS) <
e.j.w.vanbloem@student.utwente.nl> wrote:
>
> Hi,
>
>
>
> I am building a portal where users are able to maintain a personal doc,
> placed in a database or dir on server.
>
> I want the users to be able to search all other users doc's for keywords.
>
> Like give me a top ten of documents containing the work bike.
>
>
>
> Is Lucene useful for this? Or do you know a better approach?
>
>
>
>
>
> Greetings,
>
>
>
> Erik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>