<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Provider\SuperSearch; abstract class AbstractSuperSearchProvider { public abstract function name(); public abstract function title(); public abstract function ping(); public abstract function bucketExists($MGY9H); public abstract function bucketCreate($MGY9H, $TChT0); public abstract function bucketDelete($MGY9H); public abstract function bucketCount($MGY9H); public abstract function upsert($MGY9H, $M3rBS, $Pg57y); public abstract function delete($MGY9H, $M3rBS); public abstract function get($MGY9H, $M3rBS); public abstract function search($MGY9H, $j13Tr, $OB9LF, $OZn1D = array(), $KWG9l = array()); public function ensureBucket($MGY9H) { if (!$this->bucketExists($MGY9H)) { $i9_MK = SuperSearchBiz::get($MGY9H); $this->bucketCreate($MGY9H, $i9_MK->fields()); } } }