搜索

大约有 200 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.0049秒)

101.XSIndex::del

...>vno, strtolower($term)); } // combine multi commands into exdata if ($this->_bufSize > 0) { $this->appendBuffer(implode('', $cmds)); } elseif (count($cmds) == 1) { $this->execCommand($cmds[0], XS_CMD_OK_RQST_FINISHED); } else { $cmd = array('cmd' => XS_CMD_INDEX_...

102.XSSearch::getSynonyms

...(显示) public function getSynonyms($term){ $term = strval($term); if (strlen($term) === 0) { return false; } $cmd = array('cmd' => XS_CMD_SEARCH_GET_SYNONYMS, 'arg1' => 2, 'buf' => $term); $res = $this->execCommand($cmd, XS_CMD_OK_RESULT_SYNONYMS); $ret = $res->buf === ''...

103.XSErrorException

...e, $previous = null){ $this->_file = $file; $this->_line = $line; if (version_compare(PHP_VERSION, '5.3.0', '>=')) { parent::__construct($message, $code, $previous); } else { parent::__construct($message, $code); }} 构造函数 将 $file, $line 记录到私有属性...

104.XSComponent

...182 (显示) public function __get($name){ $getter = 'get' . $name; if (method_exists($this, $getter)) { return $this->$getter(); } // throw exception $msg = method_exists($this, 'set' . $name) ? 'Write-only' : 'Undefined'; $msg .= ' property: ' . get_class($this) . '::$' ....

105.为什么程序消耗的内存越来越大

更新时间:2010-03-02 17:03 t By backluck

..., 我有时买Q币来玩, 我还听说过C#语言"; int i; 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_X...

106.XSErrorException::__construct

...e, $previous = null){ $this->_file = $file; $this->_line = $line; if (version_compare(PHP_VERSION, '5.3.0', '>=')) { parent::__construct($message, $code, $previous); } else { parent::__construct($message, $code); }} 构造函数 将 $file, $line 记录到私有属性...

107.不使用Indexer.php添加数据到xunsearch

更新时间:2012-12-21 20:12 t By Dull

...e.sql [code]-- -- Table structure for table `sample` -- CREATE TABLE IF NOT EXISTS `sample` ( `id` int(12) unsigned NOT NULL AUTO_INCREMENT, `subject` varchar(1024) NOT NULL, `message` text NOT NULL, `dateline` int(12) unsigned NOT NULL, `author` varchar(1024) NOT NULL, `auth...

108.和Greta一起使用时,scws_free_tops出错

发布时间:2013-06-15 11:06 t By lyjkensou

...t len; int b; while ((cur = tops) != NULL) { tops = cur->next; if (cur->word) { OutputDebugStringA(cur->word);//能正常输出能容 len = strlen(cur->word);//长度都正确 b = ('\0'==cur->word[len+1]);//大部分b=1,但有时会出现b=0的情况 //free(cur->word...

109.RE: 导入 mysql 数据源的问题

发布时间:2011-09-20 17:09 t By hightman

...e, DEFAULT_TEMP_DIR "%s_%s.rcv", conn->user->name, db->name); 753 if ((db->fd = open(rcvfile, O_RDWR | O_CREAT, 0600)) < 0) 754 { 755 log_conn("failed to open rcvfile (PATH:%s, ERROR:%s)", rcvfile, strerror( 756 rc = CONN_RES_ERR(OPEN_FILE); 757 ...

110.自定义词库用不了。非常不解啊。。

发布时间:2011-10-21 16:10 t By ci169

... so->set_ignore(1); // $this -> so->add_dict('dict.utf8.xdb'); if($this -> so->add_dict('mydict_utf8.txt', SCWS_XDICT_TXT)) { echo 'ok'; } else { echo 'no'; } $this -> so->set_rule('rules.utf8.ini'); } function word_list($text) { $time_start = $t...

  • 时间不限
  • 按相关性排序