that part you have to do yourself.  It is easy, just create a new
Document, create an appropriate Field, give it a name and the string
value you got with textmining.org library, then add the Field to your
Document, and then add the Document to the index with IndexWriter.

Look at one of the articles about Lucene to get started.  I wrote one
called something like Introduction to Text Indexing with Lucene.  You
probably want to read that one to get going.

Otis

--- Santosh <[EMAIL PROTECTED]> wrote:

> I have gon through textmining.org, I am able to extract text in
> string
> format. but how can I get it as
> lucene document format
> ----- Original Message -----
> From: "Otis Gospodnetic" <[EMAIL PROTECTED]>
> To: "Lucene Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, August 24, 2004 11:54 PM
> Subject: Re: worddoucments search
> 
> 
>  As I just answered in a separate email to Ryan - we used
> textmining.orglibrary, too, as an example of something that is easier
> to use thanPOI.  It's been a while since I wrote that chapter, so it
> slipped mymind when I replied.  Yes, use textmining.org first, you'll
> be able toinclude it in your code in 2 minutes.  Good stuff.
> 
>  Otis
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to