gov.nasa.pds.search.core.indexer.pds
Class Indexer
java.lang.Object
gov.nasa.pds.search.core.indexer.pds.Indexer
public class Indexer
- extends Object
This class creates a lucene index for text search.
- Version:
- $Revision: 11753 $
- Author:
- pramirez
Method Summary |
static void |
indexDocs(org.apache.lucene.index.IndexWriter writer,
File file,
Properties weights)
Creates an lucene indexed DOM document |
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Indexer
public Indexer()
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
indexDocs
public static void indexDocs(org.apache.lucene.index.IndexWriter writer,
File file,
Properties weights)
throws IOException
- Creates an lucene indexed DOM document
- Parameters:
writer
- - IndexWriter object for indexing of data using lucene
algorithmfile
- - File object that will be used for indexweights
- - properties for weighting the indexed values
- Throws:
IOException
Copyright © 2010-2013 Planetary Data System. All Rights Reserved.