| java.lang.Object org.pdfbox.searchengine.lucene.IndexFiles
IndexFiles | public class IndexFiles (Code) | | This is a class that will index some files on a local filesystem. This code
was modified from a demo that comes with the lucene search engine.
author: Lucene team author: Ben Litchfield version: $Revision: 1.8 $ |
Method Summary | |
public void | index(File root, boolean create, String index) This will index a directory. | public static void | main(String[] argv) This is the main entry point for the indexer. |
index | public void index(File root, boolean create, String index)(Code) | | This will index a directory.
Parameters: root - The root directory to start indexing. Parameters: create - Should we create a new index? Parameters: index - The name of the index. |
main | public static void main(String[] argv)(Code) | | This is the main entry point for the indexer.
Parameters: argv - The command line arguments. |
|
|