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