<?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($SeTC_); public abstract function bucketCreate($SeTC_, $diH_P); public abstract function bucketDelete($SeTC_); public abstract function bucketCount($SeTC_); public abstract function upsert($SeTC_, $DcXJr, $q62oK); public abstract function delete($SeTC_, $DcXJr); public abstract function get($SeTC_, $DcXJr); public abstract function search($SeTC_, $mQ9Jw, $UcEVj, $ys6jA = array(), $wqZXD = array()); public function ensureBucket($SeTC_) { if (!$this->bucketExists($SeTC_)) { $eV8cW = SuperSearchBiz::get($SeTC_); $this->bucketCreate($SeTC_, $eV8cW->fields()); } } }