org.apache.uima.lucas.indexer
Class IndexWriterProviderImpl

java.lang.Object
  extended by org.apache.uima.lucas.indexer.IndexWriterProviderImpl
All Implemented Interfaces:
IndexWriterProvider, org.apache.uima.resource.SharedResourceObject

public class IndexWriterProviderImpl
extends Object
implements IndexWriterProvider, org.apache.uima.resource.SharedResourceObject


Field Summary
static String CREATE_INDEX_PROPERTY
           
static String INDEX_PATH_PROPERTY
           
 org.apache.lucene.index.IndexWriter indexWriter
           
static String MAX_FIELD_LENGTH_PROPERTY
           
static String RAMBUFFER_SIZE_PROPERTY
           
static String UNIQUE_INDEX_PROPERTY
           
static String USE_COMPOUND_FILE_FORMAT_PROPERTY
           
 
Constructor Summary
IndexWriterProviderImpl()
           
 
Method Summary
 org.apache.lucene.index.IndexWriter getIndexWriter()
           
 void load(org.apache.uima.resource.DataResource dataResource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USE_COMPOUND_FILE_FORMAT_PROPERTY

public static final String USE_COMPOUND_FILE_FORMAT_PROPERTY
See Also:
Constant Field Values

RAMBUFFER_SIZE_PROPERTY

public static final String RAMBUFFER_SIZE_PROPERTY
See Also:
Constant Field Values

INDEX_PATH_PROPERTY

public static final String INDEX_PATH_PROPERTY
See Also:
Constant Field Values

CREATE_INDEX_PROPERTY

public static final String CREATE_INDEX_PROPERTY
See Also:
Constant Field Values

MAX_FIELD_LENGTH_PROPERTY

public static final String MAX_FIELD_LENGTH_PROPERTY
See Also:
Constant Field Values

UNIQUE_INDEX_PROPERTY

public static final String UNIQUE_INDEX_PROPERTY
See Also:
Constant Field Values

indexWriter

public org.apache.lucene.index.IndexWriter indexWriter
Constructor Detail

IndexWriterProviderImpl

public IndexWriterProviderImpl()
Method Detail

getIndexWriter

public org.apache.lucene.index.IndexWriter getIndexWriter()
Specified by:
getIndexWriter in interface IndexWriterProvider

load

public void load(org.apache.uima.resource.DataResource dataResource)
          throws org.apache.uima.resource.ResourceInitializationException
Specified by:
load in interface org.apache.uima.resource.SharedResourceObject
Throws:
org.apache.uima.resource.ResourceInitializationException


Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.