addExdata() 方法 public XSIndex addExdata(string $data, bool $check_file=true) $data string 要提交的命令封包数据, 或存储命令封包的文件路径, 编码必须已经是 UTF-8 $check_file bool 是否检测参数为文件的情况 {return} XSIndex 返回...
...function openBuffer($size = 4){ if ($this->_buf !== '') { $this->addExdata($this->_buf, false); } $this->_bufSize = intval($size) << 20; $this->_buf = ''; return $this;} 开启索引命令提交缓冲区 为优化网络性能, 有必要先将本地提交的 add/update/del ...
...and(Array, 250) #1 /home/www/xunsearch/sdk/php/lib/XS.php(1246): XSIndex->addExdata('????????1??????...', false) #2 /home/www/xunsearch/sdk/php/lib/XS.php(1102): XSIndex->appendBuffer('????????37225??...') #3 /home/www/xunsearch/sdk/php/util/Indexer.php(237): XSIndex->update(Object(XSDocument)) ...
...9): XSServer->execCommand(Array, 250) #1 ../phplib/XS.php(1094): XSIndex->addExdata('????????111????...') #2 ../phplib/XS.php(1100): XSIndex->openBuffer(0) #3 ../phputil/Indexer.php(206): XSIndex->closeBuffer() #4 {main} PHP Fatal error: Exception thrown without a stack frame in Unknown on lin...
... __unset XSComponent add() 添加文档到索引中 XSIndex addExdata() 批量提交索引命令封包数据 XSIndex addServer() 增加一个同步索引服务器 XSIndex addSynonym() 添加同义词 XSIndex beginRebuild() 开始重建索引 XSIndex clea...
...9): XSServer->execCommand(Array, 250) #1 ../phplib/XS.php(1094): XSIndex->addExdata('????????1??????...') #2 ../phplib/XS.php(1100): XSIndex->openBuffer(0) #3 ../phputil/Indexer.php(206): XSIndex->closeBuffer() #4 {main} PHP Fatal error: Exception thrown without a stack frame in Unknown on lin...
...9): XSServer->execCommand(Array, 250) #1 ../phplib/XS.php(1094): XSIndex->addExdata('????????1??????...') #2 ../phplib/XS.php(1100): XSIndex->openBuffer(0) #3 ../phputil/Indexer.php(206): XSIndex->closeBuffer() #4 {main} PHP Fatal error: Exception thrown without a stack frame in Unknown on lin...