Skip to content

Commit

Permalink
Add categorization to the enabled check for insights service
Browse files Browse the repository at this point in the history
Signed-off-by: Siddhant Deshmukh <[email protected]>
  • Loading branch information
deshsidd committed Jun 29, 2024
1 parent ac7fd90 commit 32ab63a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public boolean isCollectionEnabled(final MetricType metricType) {
}

/**
* Check if query insights service is enabled
* Check if query insights service is enabled including TopN and categorization.
*
* @return if query insights service is enabled
*/
Expand All @@ -219,7 +219,7 @@ public boolean isEnabled() {
return true;
}
}
return false;
return searchQueryMetricsEnabled;
}

/**
Expand Down

0 comments on commit 32ab63a

Please sign in to comment.