...>getDefaultCharset()); foreach ($terms as $term) { $cmds[] = new XSCommand(XS_CMD_INDEX_REMOVE, 0, $field->vno, strtolower($term)); } // combine multi commands into exdata if ($this->_bufSize > 0) { $this->appendBuffer(implode('', $cmds)); } elseif (count($cmds) == 1) { ...
...小错误 * 2011-09-16 11:34:27 +0800 277954d hightman: PHP-SDK: 修正 XSCommand 在 __toString 中抛出 Exception 的问题 * 2011-09-16 11:21:07 +0800 7fd5d87 hightman: PHP-SDK: XSDocument 可直接用数组构造初始数据 * 2011-09-15 14:22:37 +0800 4526e12 hightman: PHP-SDK: 修正 XS ...
... 包 XS 继承关系 class XSComponent 子类 XS, XSCommand, XSServer 版本 1.0.0 源代码 sdk/php/lib/XS.class.php XS 组件基类 封装一些魔术方法, 以实现支持模拟属性 模拟属性通过定义读取函数, 写入函数来实现, 允许两...
... ? $this->_limit : self::PAGE_SIZE); // get result header $cmd = new XSCommand(XS_CMD_SEARCH_GET_RESULT, 0, $this->_defaultOp, $query, $page); $res = $this->execCommand($cmd, XS_CMD_OK_RESULT_BEGIN); $tmp = unpack('Icount', $res->buf); $this->_lastCount = $tmp['count']; // load vno...
...r->getRespond() #2 sdk/php/lib/XS.php(1686): XSServer->execCommand(Object(XSCommand), 206) #3 Quest.php(338): XSSearch->search() #4 {main} load average信息: top - 21:49:29 up 1:31, 4 users, load average: 1.00, 0.94, 0.90 Tasks: 82 total, 1 running, 81 sleeping, 0 stopped, 0 zo...