diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0977cb36a2..9a85d1df7d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -25,7 +25,7 @@ on: - beta - development - master - - lineageondemand + - es-req-cache jobs: build: diff --git a/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasElasticsearchQuery.java b/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasElasticsearchQuery.java index 9d2e2489e8..6967225229 100644 --- a/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasElasticsearchQuery.java +++ b/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasElasticsearchQuery.java @@ -387,6 +387,7 @@ private String performDirectIndexQuery(String query, boolean source) throws Atla } Request request = new Request("GET", endPoint); + request.addParameter("request_cache", "true"); request.setEntity(entity); Response response;