private class DefaultIndexUpdater.LuceneIndexAdaptor extends DefaultIndexUpdater.IndexAdaptor
Modifier and Type | Field and Description |
---|---|
private IndexUpdateRequest |
updateRequest |
dir, properties
Constructor and Description |
---|
LuceneIndexAdaptor(IndexUpdateRequest updateRequest) |
Modifier and Type | Method and Description |
---|---|
void |
addIndexChunk(ResourceFetcher source,
java.lang.String filename) |
void |
commit() |
java.util.Properties |
getProperties() |
java.util.Date |
getTimestamp() |
java.util.Date |
setIndexFile(ResourceFetcher source,
java.lang.String filename) |
void |
storeProperties() |
setProperties
private final IndexUpdateRequest updateRequest
LuceneIndexAdaptor(IndexUpdateRequest updateRequest)
public java.util.Properties getProperties()
getProperties
in class DefaultIndexUpdater.IndexAdaptor
public void storeProperties() throws java.io.IOException
storeProperties
in class DefaultIndexUpdater.IndexAdaptor
java.io.IOException
public java.util.Date getTimestamp()
getTimestamp
in class DefaultIndexUpdater.IndexAdaptor
public void addIndexChunk(ResourceFetcher source, java.lang.String filename) throws java.io.IOException
addIndexChunk
in class DefaultIndexUpdater.IndexAdaptor
java.io.IOException
public java.util.Date setIndexFile(ResourceFetcher source, java.lang.String filename) throws java.io.IOException
setIndexFile
in class DefaultIndexUpdater.IndexAdaptor
java.io.IOException
public void commit() throws java.io.IOException
commit
in class DefaultIndexUpdater.IndexAdaptor
java.io.IOException