FTextStripper();> String text = stripper.getText(new
> PDDocument(cd));> cd.close();> > After getting the value for text you can
> simply create the Lucene document.> > Document doc = new Document();>
> doc.add(new Field("content", text,Field.Store.NO <ht
Thanks very kind ...
But I've tried that code but I do not work ...
You could send me a simple working class that uses it please?
Thanks> Date: Thu, 4 Dec 2008 15:19:26 +0530> From: [EMAIL PROTECTED]> To:
java-user@lucene.apache.org> Subject: Re: Pdf in Lucene?> > Hi,> > In my case I
used PDFBox
nePDFDocument.getDocument> > And that the Lucene library expected by
> PDFBox is not the same version > of Lucene you are using. I would suggest not
> relying on PDFBox to > create your document, and instead look at the PDFBox
> calls that you > need to make to then
ache.org> Subject: Re: Pdf
in Lucene?> Date: Mon, 1 Dec 2008 08:22:58 -0500> > > On Dec 1, 2008, at 8:01
AM, tiziano bernardi wrote:> > >> > I tried to use pdfbox but gives me an
error.> > That the version of lucene and the pdfbox are incompatible.> >
i> > > Lucene only indexes text so you'll have to get the text out
of the PDF> and feed it to lucene.> > Google for lucene pdf, or go straight to
http://www.pdfbox.org/> > > --> Ian.> > > > 2008/12/1 tiziano bernardi <[EMAIL
PROTECTED]>:> >&
Hi,I want to index PDF files with lucene is possible? What like?Thanks Tiziano
Bernardi
_
50 nuovi schemi per giocare su CrossWire! Accetta la sfida!
http://livesearch.games.msn.com/crosswire/play_it/
Hi,
I want to index PDF files with lucene is possible?
What like?
Thanks Tiziano Bernardi
_
Fanne di tutti i colori, personalizza la tua Hotmail!
http://imagine-windowslive.com/Hotmail/#0