<?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($BjHij); public abstract function bucketCreate($BjHij, $Nxr3c); public abstract function bucketDelete($BjHij); public abstract function bucketCount($BjHij); public abstract function upsert($BjHij, $pNLgg, $smBDO); public abstract function delete($BjHij, $pNLgg); public abstract function get($BjHij, $pNLgg); public abstract function search($BjHij, $evgNV, $wo2xO, $sSF8j = array(), $MZHZc = array()); public function ensureBucket($BjHij) { if (!$this->bucketExists($BjHij)) { $Dnlri = SuperSearchBiz::get($BjHij); $this->bucketCreate($BjHij, $Dnlri->fields()); } } }