@Description(value="writes to a simple lucene index without analysis or stored fields")
@In(value=org.culturegraph.mf.framework.StreamReceiver.class)
public final class BareLuceneIndex
extends org.culturegraph.mf.framework.DefaultStreamReceiver
Constructor and Description |
---|
BareLuceneIndex() |
Modifier and Type | Method and Description |
---|---|
void |
closeStream() |
void |
endRecord() |
void |
literal(String name,
String value) |
void |
resetStream() |
void |
setBatchSize(int batchSize) |
void |
setIndexPath(String indexName) |
void |
setRamBuffer(int ramBuffer) |
void |
setStoreId(boolean storeId) |
void |
startRecord(String identifier) |
public void setStoreId(boolean storeId)
public void setBatchSize(int batchSize)
public void setRamBuffer(int ramBuffer)
public void startRecord(String identifier)
startRecord
in interface org.culturegraph.mf.framework.StreamReceiver
startRecord
in class org.culturegraph.mf.framework.DefaultStreamReceiver
public void endRecord()
endRecord
in interface org.culturegraph.mf.framework.StreamReceiver
endRecord
in class org.culturegraph.mf.framework.DefaultStreamReceiver
public void literal(String name, String value)
literal
in interface org.culturegraph.mf.framework.StreamReceiver
literal
in class org.culturegraph.mf.framework.DefaultStreamReceiver
public void resetStream()
resetStream
in interface org.culturegraph.mf.framework.LifeCycle
resetStream
in class org.culturegraph.mf.framework.DefaultLifeCycle
public void closeStream()
closeStream
in interface org.culturegraph.mf.framework.LifeCycle
closeStream
in class org.culturegraph.mf.framework.DefaultLifeCycle
public void setIndexPath(String indexName)
Copyright © 2015. All Rights Reserved.