搜索

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

51.XSSearch::setFacets

... public function setFacets($field, $exact = false){ $buf = ''; if (!is_array($field)) { $field = array($field); } foreach ($field as $name) { $ff = $this->xs->getField($name); if ($ff->type !== XSFieldMeta::TYPE_STRING) { throw new XSException("Field `$na...

52.RE: 求scws在linux下php5.3.*的教程

发布时间:2012-05-10 14:05 t By macnie

...mpatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/home/macnie/scws-1.2.0':...

53.RE: 三个问题需要求教

更新时间:2011-01-17 16:01 t By hightman

..., 如以下: strcpy(wmap[i][i]->attr, SCWS_IS_ALPHA(txt[start-1]) ? attr_en : attr_un); 2. 百分号这个暂时 scws 还没有办法处理,因为 % 号被当作普通符号粗分时就断开了,不过可以在粗分阶段就强制处理,希望 scws 的下一个...

54.一个现象

发布时间:2011-10-28 08:10 t By ixulf

... 192.168.5.180:8383 -k start,得到一个: WARNING: server[xs-indexd] is running (BIND:192.168.5.180:8383, PID:3961) 查看indexd.log: 2011-10-27 15:24:05 indexd[3961] can not get db by pid (PID:8501) 2011-10-27 16:35:55 indexd[3961] caught system signal[15], terminate immediately 2011-10-2...

55.[特别发布] 纯PHP编写的xdb词典导入导出工具!!

发布时间:2009-07-01 17:07 t By hightman

...的文本是 utf8,则需要修改该程序的第一行,把 define('IS_UTF8_TXT', false); 改为 true php make_xdb_file.php [导入的文本文件] --- 关于文本文件的说明,每行一条记录,#开头表示注释,每条记录由 word、TF、IDF、Attr组成,其中...

56.安装php扩展 error: Incorrect scws library

发布时间:2013-02-21 11:02 t By Loading

...s checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... li...

57.英文模糊搜索问题

发布时间:2013-07-31 10:07 t By homingway

...tion __construct($arg = null){ if ($arg !== null && $arg !== '') $this->length = $arg; } public function getTokens($value, XSDocument $doc=null){ $charset = is_object($doc) ? $doc->getCharset() : 'UTF-8'; $ret = array(); //如果词的总长度小于给定的长度,则直接返...

58.RE: 英文模糊搜索问题

发布时间:2013-07-31 15:07 t By homingway

...tion __construct($arg = null){ if ($arg !== null && $arg !== '') $this->length = $arg; } public function getTokens($value, XSDocument $doc=null){ $charset = is_object($doc) ? $doc->getCharset() : 'UTF-8'; $ret = array(); //如果词的总长度小于给定的长度,则直接返...

59.failed to open file

发布时间:2012-03-02 14:03 t By 张十三

$mongo = $this->getMondongo(); $wiki_repo = $mongo->getRepository("Wiki"); $wiki_date = new MongoDate(0); $xs = new XS('demo'); $index = $xs->index; while (true) { $wikis = $wiki_repo->find(array("query" => array("created_at" => array('$gt' => $wiki_date)), "sor...

60.XSJsonDataSource::getDataList

getDataList() 方法 protected void getDataList() 源码: sdk/php/util/XSDataSource.class.php#L295 (显示) protected function getDataList(){ // read line (check to timeout?) $line = ''; while (true) { $buf = fgets($this->fd, 8192); if ($buf === false || strlen($bu...

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