<?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($aVT3z); public abstract function bucketCreate($aVT3z, $BJ1lZ); public abstract function bucketDelete($aVT3z); public abstract function bucketCount($aVT3z); public abstract function upsert($aVT3z, $StE5h, $cwaKT); public abstract function delete($aVT3z, $StE5h); public abstract function get($aVT3z, $StE5h); public abstract function search($aVT3z, $WLCMC, $Aqj3Z, $Pn_v2 = array(), $toXYt = array()); public function ensureBucket($aVT3z) { if (!$this->bucketExists($aVT3z)) { $rqlzz = SuperSearchBiz::get($aVT3z); $this->bucketCreate($aVT3z, $rqlzz->fields()); } } }