public function calculate(PFUser $user, $current_type, $service_name, $project_id)
 {
     if (!$user->useLabFeatures()) {
         return $current_type;
     }
     if ($service_name === Search_SearchWiki::NAME) {
         return $this->calculateForWikiService($project_id);
     }
     if ($this->isRequestFromDocmanOrTracker($service_name)) {
         return $this->getFullTextTypeName();
     }
     return $current_type;
 }
 public function user_uses_lab_features()
 {
     return $this->user->useLabFeatures();
 }