public class IndexPackingRequest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IndexPackingRequest.IndexFormat
Index format enumeration.
|
Modifier and Type | Field and Description |
---|---|
static int |
MAX_CHUNKS |
Constructor and Description |
---|
IndexPackingRequest(IndexingContext context,
org.apache.lucene.index.IndexReader indexReader,
File targetDir) |
Modifier and Type | Method and Description |
---|---|
IndexingContext |
getContext() |
Collection<IndexPackingRequest.IndexFormat> |
getFormats()
Returns index formats to be created.
|
org.apache.lucene.index.IndexReader |
getIndexReader() |
int |
getMaxIndexChunks() |
File |
getTargetDir() |
boolean |
isCreateChecksumFiles() |
boolean |
isCreateIncrementalChunks() |
boolean |
isUseTargetProperties() |
void |
setCreateChecksumFiles(boolean createChecksumFiles) |
void |
setCreateIncrementalChunks(boolean createIncrementalChunks) |
void |
setFormats(Collection<IndexPackingRequest.IndexFormat> formats)
Sets index formats to be created
|
void |
setMaxIndexChunks(int maxIndexChunks) |
void |
setUseTargetProperties(boolean useTargetProperties) |
public static final int MAX_CHUNKS
public IndexPackingRequest(IndexingContext context, org.apache.lucene.index.IndexReader indexReader, File targetDir)
public IndexingContext getContext()
public org.apache.lucene.index.IndexReader getIndexReader()
public void setFormats(Collection<IndexPackingRequest.IndexFormat> formats)
public Collection<IndexPackingRequest.IndexFormat> getFormats()
public File getTargetDir()
public boolean isCreateIncrementalChunks()
public void setCreateIncrementalChunks(boolean createIncrementalChunks)
public boolean isCreateChecksumFiles()
public void setCreateChecksumFiles(boolean createChecksumFiles)
public int getMaxIndexChunks()
public void setMaxIndexChunks(int maxIndexChunks)
public boolean isUseTargetProperties()
public void setUseTargetProperties(boolean useTargetProperties)
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.