lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Messer <Bernhard.Mes...@intrafind.de>
Subject Re: integration of lucene with pdfbox
Date Tue, 24 Aug 2004 09:09:37 GMT
Santosh,

please have a look to the lucene demo package. There are several samples 
(IndexFiles.java) showing how to add a document to a writer.

regards
Bernhard

Santosh wrote:

>I dont know how to add lucene document to index, i know how to add given
>directory.
>any body please tell me how to add lucene document to index
>----- Original Message -----
>From: "Ben Litchfield" <ben@csh.rit.edu>
>To: "Lucene Users List" <lucene-user@jakarta.apache.org>
>Sent: Monday, August 23, 2004 8:13 PM
>Subject: Re: integration of lucene with pdfbox
>
>
>  
>
>>If you can use lucene on its own then you already know how to add a lucene
>>Document to the index.  So you need to be able to take a PDF and get a
>>lucene Document.
>>
>>org.pdfbox.searchengine.lucene.LucenePDFDocument.getDocument()
>>
>>does that for you.
>>
>>Ben
>>
>>
>>On Mon, 23 Aug 2004, Santosh wrote:
>>
>>    
>>
>>>I have downloaded pdfbox and lucene and kept jar files in the class
>>>      
>>>
>path, I am able to work with both of them independently but how can I
>integrate both
>  
>
>>>regards
>>>Santosh kumar
>>>
>>>-----------------------SOFTPRO DISCLAIMER------------------------------
>>>
>>>Information contained in this E-MAIL and any attachments are
>>>confidential being  proprietary to SOFTPRO SYSTEMS  is 'privileged'
>>>and 'confidential'.
>>>
>>>If you are not an intended or authorised recipient of this E-MAIL or
>>>have received it in error, You are notified that any use, copying or
>>>dissemination  of the information contained in this E-MAIL in any
>>>manner whatsoever is strictly prohibited. Please delete it immediately
>>>and notify the sender by E-MAIL.
>>>
>>>In such a case reading, reproducing, printing or further dissemination
>>>of this E-MAIL is strictly prohibited and may be unlawful.
>>>
>>>SOFTPRO SYSYTEMS does not REPRESENT or WARRANT that an attachment
>>>hereto is free from computer viruses or other defects.
>>>
>>>The opinions expressed in this E-MAIL and any ATTACHEMENTS may be
>>>those of the author and are not necessarily those of SOFTPRO SYSTEMS.
>>>------------------------------------------------------------------------
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>  
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message