mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-29 07:12:26 +00:00
DATAES-94 - upgrade to latest elasticsearch 1.3.2 driver
This commit is contained in:
parent
097c5f68ce
commit
479a670e2f
2
pom.xml
2
pom.xml
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
<commonscollections>3.2.1</commonscollections>
|
<commonscollections>3.2.1</commonscollections>
|
||||||
<commonslang>2.6</commonslang>
|
<commonslang>2.6</commonslang>
|
||||||
<elasticsearch>1.2.2</elasticsearch>
|
<elasticsearch>1.3.2</elasticsearch>
|
||||||
<springdata.commons>1.9.0.BUILD-SNAPSHOT</springdata.commons>
|
<springdata.commons>1.9.0.BUILD-SNAPSHOT</springdata.commons>
|
||||||
|
|
||||||
</properties>
|
</properties>
|
||||||
|
@ -399,7 +399,7 @@ public class ElasticsearchTemplate implements ElasticsearchOperations, Applicati
|
|||||||
if (query.DoUpsert()) {
|
if (query.DoUpsert()) {
|
||||||
updateRequestBuilder.setDocAsUpsert(true)
|
updateRequestBuilder.setDocAsUpsert(true)
|
||||||
.setDoc(query.getUpdateRequest().doc())
|
.setDoc(query.getUpdateRequest().doc())
|
||||||
.setScript(query.getUpdateRequest().script())
|
.setScript(query.getUpdateRequest().script(), query.getUpdateRequest().scriptType())
|
||||||
.setScriptParams(query.getUpdateRequest().scriptParams())
|
.setScriptParams(query.getUpdateRequest().scriptParams())
|
||||||
.setScriptLang(query.getUpdateRequest().scriptLang());
|
.setScriptLang(query.getUpdateRequest().scriptLang());
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user