public class IndexOptions extends Object implements OptionsBean
| Modifier and Type | Field and Description |
|---|---|
protected Set<joptsimple.OptionSpec> |
actionOpts |
static OptionsBeanFactory |
FACTORY |
protected joptsimple.OptionSet |
options |
| Constructor and Description |
|---|
IndexOptions(joptsimple.OptionParser parser) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkConsistency() |
void |
configure(joptsimple.OptionSet options) |
int |
consistencyCheckLevel() |
String |
description() |
boolean |
dumpDefinitions() |
boolean |
dumpIndex() |
boolean |
dumpStats() |
String |
getCheckpoint() |
File |
getIndexDefinitionsFile() |
File |
getIndexImportDir() |
List<String> |
getIndexPaths() |
File |
getOutDir() |
File |
getPreExtractedTextDir() |
File |
getWorkDir() |
boolean |
isDocTraversalMode() |
boolean |
isImportIndex() |
boolean |
isReindex() |
Set<String> |
operationNames() |
int |
order() |
String |
title() |
public static final OptionsBeanFactory FACTORY
protected joptsimple.OptionSet options
protected final Set<joptsimple.OptionSpec> actionOpts
public void configure(joptsimple.OptionSet options)
configure in interface OptionsBeanpublic String title()
title in interface OptionsBeanpublic String description()
description in interface OptionsBeanpublic int order()
order in interface OptionsBeanpublic Set<String> operationNames()
operationNames in interface OptionsBeanpublic File getWorkDir() throws IOException
IOExceptionpublic File getOutDir()
public File getPreExtractedTextDir()
public File getIndexDefinitionsFile()
public File getIndexImportDir()
public boolean dumpStats()
public boolean dumpDefinitions()
public boolean dumpIndex()
public boolean checkConsistency()
public int consistencyCheckLevel()
public boolean isReindex()
public boolean isImportIndex()
public boolean isDocTraversalMode()
public String getCheckpoint()
Copyright © 2012–2021 The Apache Software Foundation. All rights reserved.