<?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($TTiWe); public abstract function bucketCreate($TTiWe, $TJloa); public abstract function bucketDelete($TTiWe); public abstract function bucketCount($TTiWe); public abstract function upsert($TTiWe, $MkmbZ, $MGhSY); public abstract function delete($TTiWe, $MkmbZ); public abstract function get($TTiWe, $MkmbZ); public abstract function search($TTiWe, $hpBip, $INQzX, $WHE8z = array(), $k008Q = array()); public function ensureBucket($TTiWe) { if (!$this->bucketExists($TTiWe)) { $X1NGK = SuperSearchBiz::get($TTiWe); $this->bucketCreate($TTiWe, $X1NGK->fields()); } } }