Class IndexPDFFiles
- java.lang.Object
-
- org.apache.pdfbox.examples.lucene.IndexPDFFiles
-
public final class IndexPDFFiles extends java.lang.ObjectIndex all pdf files under a directory.This is a command-line application demonstrating simple Lucene indexing. Run it with no command-line arguments for usage information.
It's based on a demo provided by the lucene project.
Important: The pom.xml uses an outdated lucene version. Replace that version with the latest version to avoid security risks like CVE-2024-45772.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Index all text files under a directory.
-