...$xs === null) { throw new XSException('An XS instance should be created before using ' . __CLASS__); } self::$_server = $xs->getScwsServer(); self::$_server->setTimeout(0); self::$_charset = $xs->getDefaultCharset(); // constants if (!defined('SCW...
...令里面要加上 -c gbk [hr] [XSException] lib/XS.php(1834): Failed to create home directoy of the project(S#508) #0 ../phplib/XS.php(1809): XSServer->execCommand(Array, 201) #1 ../phplib/XS.php(1770): XSServer->setProject('discuz') #2 ../phplib/XS.php(1753): XSServer->open(8383) #3 ../phpli...
...orted only once for each function it appears in xdb.c: In function ‘xdb_create’: xdb.c:213:20: error: ‘LOCK_EX’ undeclared (first use in this function) xdb.c: In function ‘xdb_close’: xdb.c:252:22: error: ‘LOCK_UN’ undeclared (first use in this function) Makefile:298: recipe for...
...gjh project.default_charset = UTF-8 [id] type = id [name] type = title [create_time] type = numeric [enterprise_id] type = numeric [image_url] [img_type] [category] index = mixed [source] [source_icon_url] [from] type = numeric [buy_stat] type = numeric [sell_stat] type = numeric [colle...
...eption('Invalid start command of exdata (CMD:' . $first . ')'); } // create cmd & execute it $cmd = array('cmd' => XS_CMD_INDEX_EXDATA, 'buf' => $data); $this->execCommand($cmd, XS_CMD_OK_RQST_FINISHED); return $this;} 批量提交索引命令封包数据 把多个命令封包内...
... shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool configure: creating ./config.status config.status: creating config.h [root@zjx phpext]# make /bin/sh /root/scws-1.1.1/phpext/libtool --mode=install cp ./scws.la /r...
... scws-1.2.1.tar.bz2 cd scws-1.2.1 patch -p1 < ../scws-1.2.1.patch 2.To create a patch (don't need to do) diff -ur scws-1.2.1 scws-1.2.1.changed > scws-1.2.1.patch 3. API Libscws - C API文档 `void scws_use_rule(scws_t s, int yes)` 设定分词结果是否忽略所有的中英文组合,...
...ion execCommand($cmd, $res_arg = XS_CMD_NONE, $res_cmd = XS_CMD_OK){ // create command object if (!$cmd instanceof XSCommand) { $cmd = new XSCommand($cmd); } // just cache the cmd for those need not answer if ($cmd->cmd & 0x80) { $this->_sendBuffer .= $cmd; return...
...ared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool configure: creating ./config.status config.status: creating config.h [/code]
...eadNum;i++){ pthread_create(&thread[i],NULL,doSeg,scws_fork(s)); } ...