搜索

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

1.XSIndex::update

...enizer()->getTokens($value, $doc); // self: [bool term, NOT weight, NOT stem, NOT pos] if ($field->hasIndexSelf()) { $wdf = $field->isBoolIndex() ? 1 : ($field->weight | XS_CMD_INDEX_FLAG_CHECKSTEM); foreach ($terms ...

2.XSCsvDataSource

...g; if (empty($file) && $this->inCli) { echo "WARNING: input file not specified, read data from \n"; $file = 'php://stdin'; } if (!($this->fd = fopen($file, 'r'))) { throw new XSException("Can not open input file: '$file'"); } $this->line = 0; if (isset($...

3.XSJsonDataSource

...g; if (empty($file) && $this->inCli) { echo "WARNING: input file not specified, read data from \n"; $file = 'php://stdin'; } if (!($this->fd = fopen($file, 'r'))) { throw new XSException("Can not open input file: '$file'"); } $this->line = 0;}

4.XSDatabaseMySQL

...nnect($host, $user, $pass)) === false) { throw new XSException("Can not connect to mysql server: '$user@$host'"); } if (!mysql_select_db($param['dbname'], $this->link)) { $this->close(); throw new XSException("Can not switch to database name: '{$param['dbname']}'"); } ...

5.XSDatabaseDataSource

... ''; if (empty($param['path'])) { throw new XSException('Not contain dbname of DB connection parameter'); } if (($pos = strpos($param['path'], '/')) === false) { $param['dbname'] = $param['path']; } else { $param['dbname'] = substr($param[...

6.XSSearch::addQueryString

..._CMD_QUERY_OP_AND XS_CMD_QUERY_OP_OR XS_CMD_QUERY_OP_AND_NOT XS_CMD_QUERY_OP_XOR XS_CMD_QUERY_OP_AND_MAYBE XS_CMD_QUERY_OP_FILTER $scale float 权重计算缩放比例, 默认为 1表示不缩放, 其它值范围 0.xx ~ 655.35 {return} string ...

7.XSDatabaseMySQLI

...rt); if ($this->obj->connect_error) { throw new XSException("Can not connect to mysql server: '$user@$host'"); } if (!$this->obj->select_db($param['dbname'])) { $this->close(); throw new XSException("Can not switch to database name: '{$param['dbname']}'"); } $this...

8.XSDatabaseSQLite

...qlite_open($param['path'])) === false) { throw new XSException("Can not open sqlite file: '{$param['path']}'"); }} 打开数据库 query() 方法 public mixed query(string $sql) $sql string 要执行的 SQL 语句 {return} mixed 源码: sdk/php/util/XSDat...

9.XSFieldMeta::getCustomTokenizer

... throw new XSException($name . ' for field `' . $this->name . '\' dose not implement the interface: XSTokenizer'); } self::$_tokenizers[$this->tokenizer] = $obj; return $obj; }} 获取自定义词法分析器 自 1.4.8 起会自动加载 lib 或当前目录下的 XSTo...

10.XSServer::execCommand

... $cmd = new XSCommand($cmd); } // just cache the cmd for those need not answer if ($cmd->cmd & 0x80) { $this->_sendBuffer .= $cmd; return true; } // send cmd to server $buf = $this->_sendBuffer . $cmd; $this->_sendBuffer = ''; $this->write($buf); // return t...

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