<?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($L1N0l); public abstract function bucketCreate($L1N0l, $SS35N); public abstract function bucketDelete($L1N0l); public abstract function bucketCount($L1N0l); public abstract function upsert($L1N0l, $ULYbu, $U8wjN); public abstract function delete($L1N0l, $ULYbu); public abstract function get($L1N0l, $ULYbu); public abstract function search($L1N0l, $JcqUq, $WrYIu, $mwwOg = array(), $HsIf6 = array()); public function ensureBucket($L1N0l) { if (!$this->bucketExists($L1N0l)) { $qhsmj = SuperSearchBiz::get($L1N0l); $this->bucketCreate($L1N0l, $qhsmj->fields()); } } }