diff --git a/server/adaptors/metrics/metrics_analytics_adaptor.ts b/server/adaptors/metrics/metrics_analytics_adaptor.ts
index 1fde1e3956..a6fa653d05 100644
--- a/server/adaptors/metrics/metrics_analytics_adaptor.ts
+++ b/server/adaptors/metrics/metrics_analytics_adaptor.ts
@@ -34,7 +34,7 @@ export class MetricsAnalyticsAdaptor {
           must: [
             {
               term: {
-                'name.keyword': {
+                name: {
                   value: documentName,
                 },
               },
@@ -98,7 +98,7 @@ export class MetricsAnalyticsAdaptor {
           must: [
             {
               term: {
-                'name.keyword': {
+                name: {
                   value: documentName,
                 },
               },
@@ -133,7 +133,7 @@ export class MetricsAnalyticsAdaptor {
       aggs: {
         distinct_names: {
           terms: {
-            field: 'name.keyword',
+            field: 'name',
             size: 500,
           },
         },