mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-22 20:12:11 +00:00
"BaseQuery" class : the "build" method does not apply to the "runtimeFields" field.
Original Pull Request #2568 Closes #2567 (cherry picked from commit 7b527c44511d0e45e0246ae2ee758cd522685aeb) # Conflicts: # src/main/java/org/springframework/data/elasticsearch/core/query/BaseQuery.java
This commit is contained in:
parent
13b4d62031
commit
94d23a1403
@ -105,6 +105,14 @@ public class BaseQuery implements Query {
|
|||||||
this.requestCache = builder.getRequestCache();
|
this.requestCache = builder.getRequestCache();
|
||||||
this.idsWithRouting = builder.getIdsWithRouting();
|
this.idsWithRouting = builder.getIdsWithRouting();
|
||||||
this.pointInTime = builder.getPointInTime();
|
this.pointInTime = builder.getPointInTime();
|
||||||
|
this.runtimeFields = builder.getRuntimeFields();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 5.1
|
||||||
|
*/
|
||||||
|
public void setSort(@Nullable Sort sort) {
|
||||||
|
this.sort = sort;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user