public class Indexer extends Object
Constructor and Description |
---|
Indexer() |
Modifier and Type | Method and Description |
---|---|
static void |
indexDocs(org.apache.lucene.index.IndexWriter writer,
File file,
Properties weights)
Creates an lucene indexed DOM document
|
static void |
main(String[] args) |
public static void main(String[] args) throws IOException
IOException
public static void indexDocs(org.apache.lucene.index.IndexWriter writer, File file, Properties weights) throws IOException
writer
- - IndexWriter object for indexing of data using lucene
algorithmfile
- - File object that will be used for indexweights
- - properties for weighting the indexed valuesIOException
Copyright © 2010–2018 Planetary Data System. All rights reserved.