..., chert and flint (you ma y need to install the zlib1g-dev or zlib-devel package) ----- ERROR: failed to configure xapian-core-scws, see 'setup.log' for more detail 查看安装目录 root@localhost:~# ls -i /etc/xunsearch/bin 789769 scws 789770 scws-gen-dict 789...
..../../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2165): Failed to recv the data from server completely (SIZE:0/8, REASON:closed) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(2105): XSServer->read(8) #1 /usr/local/xunsearch/sdk/php/lib/XS.php(2090): XSServer->getRespond() #2 /usr/local/xunsear...
... Document 52122 not found 2011-12-25 00:43:21 worker2[23769] [sock:7] end the task from thread pool (RC:133, CONN:0x986840) 2011-12-25 00:43:21 worker2[23769] [sock:7] quit normally [/code]
...text = "上海市"; if (!(s = scws_new())) { printf("error, can't init the scws_t!\n"); exit(-1); } scws_set_charset(s, "utf-8"); scws_set_dict(s, "/usr/local/etc/dict.utf8.xdb", SCWS_XDICT_XDB); scws_set_rule(s, "/usr/local/etc/rules.utf8.ini"); scws_set_multi(s , 1); scws_send_text(...
...; 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 . '}'; ...
...] ../../../../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...
...ed to read exdata from file'); } // try to check allowed (BUG: check the first cmd only): // XS_CMD_IMPORT_HEADER, XS_CMD_INDEX_REQUEST, XS_CMD_INDEX_REMOVE, XS_CMD_INDEX_EXDATA $first = ord(substr($data, 0, 1)); if ($first != XS_CMD_IMPORT_HEADER && $first != XS_CMD_INDEX_...
...] ../../../../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/sd...
..., s2) stricmp(s1, s2) 4、scws.h中,加入导出修饰符 /* api: init the scws handler */ scws_t __declspec(dllexport) scws_new(); void __declspec(dllexport) scws_free(scws_t s); /* fork instance for multi-threaded usage, but they shared the dict/rules */ scws_t __declspec(dllexport)scws_fo...