diff --git a/vendor/magento/module-search/Model/ResourceModel/Query/Collection.php b/vendor/magento/module-search/Model/ResourceModel/Query/Collection.php
index 01a05c62ac3ce..824af43034adb 100644
--- a/vendor/magento/module-search/Model/ResourceModel/Query/Collection.php
+++ b/vendor/magento/module-search/Model/ResourceModel/Query/Collection.php
@@ -1,7 +1,7 @@
 <?php
 /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
+ * Copyright 2011 Adobe
+ * All Rights Reserved.
  */
 namespace Magento\Search\Model\ResourceModel\Query;

@@ -171,7 +171,6 @@ public function isTopSearchResult(string $term, int $storeId, int $maxCountCache
         $select = $this->getSelect();
         $select->reset(\Magento\Framework\DB\Select::FROM);
         $select->reset(\Magento\Framework\DB\Select::COLUMNS);
-        $select->distinct(true);
         $select->from(['main_table' => $this->getTable('search_query')], ['query_text']);
         $select->where('main_table.store_id IN (?)', $storeId);
         $select->where('main_table.num_results > 0');
diff --git a/vendor/magento/module-search/etc/db_schema.xml b/vendor/magento/module-search/etc/db_schema.xml
index 2502f084ac24e..636b3cb027cc2 100644
--- a/vendor/magento/module-search/etc/db_schema.xml
+++ b/vendor/magento/module-search/etc/db_schema.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0"?>
 <!--
 /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
+ * Copyright 2018 Adobe
+ * All Rights Reserved.
  */
 -->
 <schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -35,7 +35,7 @@
             <column name="query_text"/>
             <column name="store_id"/>
         </constraint>
-        <index referenceId="SEARCH_QUERY_QUERY_TEXT_STORE_ID_POPULARITY" indexType="btree">
+        <index referenceId="SEARCH_QUERY_QUERY_TEXT_STORE_ID_POPULARITY" indexType="btree" disabled="true">
             <column name="query_text"/>
             <column name="store_id"/>
             <column name="popularity"/>
@@ -48,6 +48,12 @@
             <column name="num_results"/>
             <column name="popularity"/>
         </index>
+        <index referenceId="SEARCH_QUERY_QUERY_TEXT_STORE_ID_NUM_RESULTS_POPULARITY" indexType="btree">
+            <column name="query_text"/>
+            <column name="store_id"/>
+            <column name="num_results"/>
+            <column name="popularity"/>
+        </index>
         <index referenceId="SEARCH_QUERY_STORE_ID_POPULARITY" indexType="btree" disabled="true">
             <column name="store_id"/>
             <column name="popularity"/>
diff --git a/vendor/magento/module-search/etc/db_schema_whitelist.json b/vendor/magento/module-search/etc/db_schema_whitelist.json
index dbe5beb975831..866aa43eedf0d 100644
--- a/vendor/magento/module-search/etc/db_schema_whitelist.json
+++ b/vendor/magento/module-search/etc/db_schema_whitelist.json
@@ -14,9 +14,10 @@
             "updated_at": true
         },
         "index": {
-            "SEARCH_QUERY_QUERY_TEXT_STORE_ID_POPULARITY": true,
+            "SEARCH_QUERY_QUERY_TEXT_STORE_ID_NUM_RESULTS_POPULARITY": true,
             "SEARCH_QUERY_IS_PROCESSED": true,
             "SEARCH_QUERY_SYNONYM_FOR": true,
+            "SEARCH_QUERY_QUERY_TEXT_STORE_ID_POPULARITY": false,
             "SEARCH_QUERY_STORE_ID_NUM_RESULTS_POPULARITY": true,
             "SEARCH_QUERY_STORE_ID": false,
             "SEARCH_QUERY_STORE_ID_POPULARITY": false

