... (!s || !s->txt) return 0; __PARSE_XATTR__; // save the offset. (cnt -> return_value) off = s->off; cnt = s->off = 0; while (!cnt && (cur = res = scws_get_result(s)) != NULL) { do { /* check attribute filter */ ...
...k [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 ../phplib/XS.php(300): XSServer-...
...$this->_vnoMap[$field->vno] = $field->name; // save field, ensure ID is the first field if ($field->type == XSFieldMeta::TYPE_ID) { $this->_fields = array_merge(array($field->name => $field), $this->_fields); } else { $this->_fields[$field->name] = $field; }} 添加字...
...; if (!(s = scws_new())) { printf("error, can't init the scws_t!\n"); exit(-1); } scws_set_charset(s, "gbk"); scws_set_dict(s, "/usr/local/scws/etc/dict.xdb", SCWS_XDICT_XDB); scws_set_rule(s, "/usr/local/scws/etc/rules.ini");...
...== XS_CMD_OK && $res->arg == XS_CMD_OK_RESULT_END) { // got the end // echo "Parsed Query: " . $res->buf . "\n"; break; } else { $msg = 'Unexpected respond in search {CMD:' . $res->cmd . ', ARG:' . $res->arg . '}'; ...
...ing for uuid/uuid.h... no checking for uuid.h... no configure: error: Neither uuid/uuid.h nor uuid.h found - required for brass, chert and flint (you may need to install the uuid-dev, libuuid-devel or e2fsprogs-devel package) -----[/code] 解决办法:sudo apt-get install uuid-dev 2.freeb...
错误:Object id #13 Failed to recv the data from server completely (SIZE:0/8, REASON:closed) searchd日志里面全是这个。。。大家有没有类似的问题哈? 2w7篇wp日志而已,源是100M左右,索引后是600M 索引服务器是Pentium(R) D CPU 3.40GHz 4G内存。。。 2013-...
...] ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2448): Failed to recv the data from server completely (SIZE:0/8, REASON:closed) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(2385): XSServer->read(8) #1 /usr/local/xunsearch/sdk/php/lib/XS.php(2367): XSServer->getRespond() #2 /usr/local/xunsearch...
... XSException($name . ' for field `' . $this->name . '\' dose not implement the interface: XSTokenizer'); } self::$_tokenizers[$this->tokenizer] = $obj; return $obj; }} 获取自定义词法分析器 自 1.4.8 起会自动加载 lib 或当前目录下的 XSTokenizer???.cla...
...过C#语言"; if (!(s = scws_new())) { printf("error, can't init the scws_t!\n"); exit(-1); } scws_set_charset(s, "gbk"); scws_set_dict(s, "/usr/local/scws/etc/dict.xdb", SCWS_XDICT_XDB); scws_set_rule(s, "/usr/local/scws/etc/rules.ini"); scws_send_text(s, text, strle...