Stabilize scoreDetails

This commit is contained in:
Louis Dureuil 2024-02-06 10:55:27 +01:00
parent 4792651462
commit 05edd85d75
No known key found for this signature in database
8 changed files with 4 additions and 59 deletions

View file

@ -30,19 +30,6 @@ impl RoFeatures {
self.runtime
}
pub fn check_score_details(&self) -> Result<()> {
if self.runtime.score_details {
Ok(())
} else {
Err(FeatureNotEnabledError {
disabled_action: "Computing score details",
feature: "score details",
issue_link: "https://github.com/meilisearch/product/discussions/674",
}
.into())
}
}
pub fn check_metrics(&self) -> Result<()> {
if self.runtime.metrics {
Ok(())