Re: Using Lucene 2.3.0 with PDFBox

2008-02-13 Thread Jan Peter Stotz
Naman Gupta schrieb: PDF Box uses a particular function of the Object 'Field' which is only there in the lucene 1.4.3. *Field.UnIndexed("path", file.getPath() ) This statement should be a good replacement: new Field("path", file.getPath(), Field.Store.YES, Field.Index.UN_TOK

Using Lucene 2.3.0 with PDFBox

2008-02-13 Thread Naman Gupta
Hey I am having problem using PDF Box for parsing the PDF and coverting them to Lucene Document using the following statement. Document doc = LucenePDFDocument.getDocument( file ); PDF Box uses a particular function of the Object 'Field' which is only there in the lucene 1.4.3.