/**
  * Retrieves a search adapter for the current database adapter
  *
  * @return FluentSearchAdapter
  */
 public static function search_adapter()
 {
     if (self::$_search_dapter) {
         return self::$_search_dapter;
     }
     foreach (self::config()->search_adapters as $connector => $adapter) {
         if ($connector && $adapter && DB::getConn() instanceof $connector) {
             return self::$_search_dapter = new $adapter();
         }
     }
 }