code: private function setSearchable(PropertyInterface $property, $propInfo)
      {
          if (!isset($propInfo['search'])) {
              return;
          }
          $property->setSearchable((bool) $propInfo['search']);
      }
docs: Set the searchable flag in the property.
  
  @param PropertyInterface $property The property definition.
  @param array             $propInfo The property info array.
  
  @return void