public abstract class AbstractScriptedIndexCreationTask extends AbstractIndexCreationTask
analyzers, analyzersStrings, conventions, disableInMemoryIndexing, indexes, indexesStrings, indexSortOptions, indexSortOptionsStrings, indexSuggestions, map, maxIndexOutputsPerDocument, reduce, spatialIndexes, spatialIndexesStrings, stores, storesStrings, termVectors, termVectorsStrings
Modifier | Constructor and Description |
---|---|
protected |
AbstractScriptedIndexCreationTask() |
Modifier and Type | Method and Description |
---|---|
void |
afterExecute(IDatabaseCommands databaseCommands,
DocumentConvention documentConvention) |
protected static void |
afterExecute(IDatabaseCommands databaseCommands,
String indexName,
ScriptedIndexResults scripts) |
void |
execute(IDatabaseCommands databaseCommands) |
void |
execute(IDocumentStore store)
Executes the index creation against the specified document store.
|
String |
getDeleteScript() |
String |
getIndexScript() |
boolean |
isRetryOnconcurrencyExceptions() |
void |
setDeleteScript(String value) |
void |
setIndexScript(String value) |
void |
setRetryOnconcurrencyExceptions(boolean retryOnconcurrencyExceptions) |
analyze, analyze, createIndexDefinition, execute, getConventions, getIndexName, getMaxIndexOutputsPerDocument, getPriority, index, index, isDisableInMemoryIndexing, isMapReduce, setConventions, setDisableInMemoryIndexing, setMaxIndexOutputsPerDocument, setPriority, sideBySideExecute, sideBySideExecute, sideBySideExecute, sort, sort, spatial, spatial, store, store, storeAllFields, suggestion, suggestion, termVector, termVector
public String getIndexScript()
public void setIndexScript(String value)
public String getDeleteScript()
public void setDeleteScript(String value)
public boolean isRetryOnconcurrencyExceptions()
public void setRetryOnconcurrencyExceptions(boolean retryOnconcurrencyExceptions)
public void afterExecute(IDatabaseCommands databaseCommands, DocumentConvention documentConvention)
afterExecute
in class AbstractIndexCreationTask
protected static void afterExecute(IDatabaseCommands databaseCommands, String indexName, ScriptedIndexResults scripts)
public void execute(IDocumentStore store)
AbstractIndexCreationTask
execute
in class AbstractIndexCreationTask
public void execute(IDatabaseCommands databaseCommands)
Copyright © 2016. All Rights Reserved.