搜索

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

21.scws_has_word的逻辑问题

更新时间:2010-07-29 14:07 t By backluck

... SCWS_NA; scws_res_t res, cur; char *word; word_attr *at = NULL; if (!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)) !=...

22.XSTokenizerSplit::__construct

__construct() 方法 public void __construct($arg=NULL) $arg 源码: sdk/php/lib/XSTokenizer.class.php#L79 (显示) public function __construct($arg = null){ if ($arg !== null && $arg !== '') { $this->arg = $arg; }}

23.XSIndex::delSynonym

....0 起可用) public XSIndex delSynonym(string $raw, string $synonym=NULL) $raw string 需要同义的原词, 英文词汇支持用空格分开多个单词并强制被转换为小写 $synonym string 要删除的同义词条, 默认 null 表示删除原词下的所有同义词 ...

24.XSDocument::getAddIndex

...tring 字段名称 {return} string 文本内容, 若无则返回 null 源码: sdk/php/lib/XSDocument.class.php#L221 (显示) public function getAddIndex($field){ $field = strval($field); if ($this->_texts === null || !isset($this->_texts[$field])) { return null; } r...

25.XSTokenizerXlen::__construct

__construct() 方法 public void __construct($arg=NULL) $arg 源码: sdk/php/lib/XSTokenizer.class.php#L106 (显示) public function __construct($arg = null){ if ($arg !== null && $arg !== '') { $this->arg = intval($arg); if ($this->arg < 1 || $this->arg > 255)...

26.XSTokenizerXstep::__construct

__construct() 方法 public void __construct($arg=NULL) $arg 源码: sdk/php/lib/XSTokenizer.class.php#L137 (显示) public function __construct($arg = null){ if ($arg !== null && $arg !== '') { $this->arg = intval($arg); if ($this->arg < 1 || $this->arg > 255)...

27.XSDocument::getIterator

...p#L272 (显示) public function getIterator(){ if ($this->_charset !== null && $this->_charset !== 'UTF-8') { $from = $this->_meta === null ? $this->_charset : 'UTF-8'; $to = $this->_meta === null ? 'UTF-8' : $this->_charset; return new ArrayIterator(XS::convert($this->_data...

28.XSSearch::getQuery

getQuery() 方法 public string getQuery(string $query=NULL) $query string 搜索语句, 若传入 null 使用默认语句 {return} string 返回解析后的搜索语句 源码: sdk/php/lib/XSSearch.class.php#L204 (显示) public function getQuery($query = null){ $quer...

29.搜索全文时较慢,在0.5+秒,甚至1.0+秒【900M数据库】

更新时间:2013-07-05 15:07 t By chinapubmed

...----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------+-----------------------+------+-----+---------+----------------+ | did | mediumint(8) unsigned | NO | PRI | NULL | auto_increment | | cid | int...

30.XSDocument::getAddTerms

...eturn} array 索引词列表(词为键, 词重为值), 若无则返回 null 源码: sdk/php/lib/XSDocument.class.php#L202 (显示) public function getAddTerms($field){ $field = strval($field); if ($this->_terms === null || !isset($this->_terms[$field])) { return null; } $...

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