public class ScriptedIndexResults extends Object
Constructor and Description |
---|
ScriptedIndexResults() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDeleteScript()
Script that will be evaluated for each document deleted from the index.
|
String |
getId()
Identifier for ScriptedIndexResults document.
|
String |
getIndexScript()
Script that will be evaluated for each indexed document.
|
int |
hashCode() |
boolean |
isRetryOnconcurrencyExceptions()
Indicates if patcher should retry applying the scripts when concurrency exception occurs.
|
void |
setDeleteScript(String deleteScript)
Script that will be evaluated for each document deleted from the index.
|
void |
setId(String id)
Identifier for ScriptedIndexResults document.
|
void |
setIndexScript(String indexScript)
Script that will be evaluated for each indexed document.
|
void |
setRetryOnconcurrencyExceptions(boolean retryOnconcurrencyExceptions)
Indicates if patcher should retry applying the scripts when concurrency exception occurs.
|
public static final String ID_PREFIX
public String getId()
public void setId(String id)
public String getIndexScript()
public void setIndexScript(String indexScript)
public String getDeleteScript()
public void setDeleteScript(String deleteScript)
public boolean isRetryOnconcurrencyExceptions()
false
then exception will be thrown and indexing will fail for this particular batch.public void setRetryOnconcurrencyExceptions(boolean retryOnconcurrencyExceptions)
false
then exception will be thrown and indexing will fail for this particular batch.Copyright © 2016. All Rights Reserved.