搜索

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

1.XSFieldScheme::logger

...e->addField('partial'); $scheme->addField('total', array('type' => 'numeric', 'index' => 'self')); $scheme->addField('lastnum', array('type' => 'numeric', 'index' => 'self')); $scheme->addField('currnum', array('type' => 'numeric', 'index' => 'self')); $scheme->addField('...

2.XSFieldMeta::val

... // 日期类型: 转换成专用的 YYYYmmdd 格式 if (!is_numeric($value) || strlen($value) !== 8) { $value = date('Ymd', is_numeric($value) ? $value : strtotime($value)); } } return $value;} 把给定的值转换为符合这个字段的数据格式

3.XSFieldMeta::isNumeric

isNumeric() 方法 public bool isNumeric() {return} bool 是返回 true, 不是返回 false 源码: sdk/php/lib/XSFieldScheme.class.php#L357 (显示) public function isNumeric(){ return ($this->type == self::TYPE_NUMERIC);} 判断当前字段是否为数字型

4.XSServer::getConnString

...unction getConnString(){ $str = $this->_conn; if (is_int($str) || is_numeric($str)) { $str = 'localhost:' . $str; } elseif (strpos($str, ':') === false) { $str = 'unix://' . $str; } return $str;}

5.XSFieldMeta::toConfig

...ype $str = "[" . $this->name . "]\n"; if ($this->type === self::TYPE_NUMERIC) { $str .= "type = numeric\n"; } elseif ($this->type === self::TYPE_DATE) { $str .= "type = date\n"; } elseif ($this->type === self::TYPE_ID) { $str .= "type = id\n"; } elseif ($this->typ...

6.XSServer::connect

... // connect to server $conn = $this->_conn; if (is_int($conn) || is_numeric($conn)) { $host = 'localhost'; $port = intval($conn); } elseif (!strncmp($conn, 'file://', 7)) { // write-only for saving index exchangable data to file // NOTE: this will cause file con...

7.XSFieldScheme

...e->addField('partial'); $scheme->addField('total', array('type' => 'numeric', 'index' => 'self')); $scheme->addField('lastnum', array('type' => 'numeric', 'index' => 'self')); $scheme->addField('currnum', array('type' => 'numeric', 'index' => 'self')); $scheme->addField('...

8.XSFieldMeta

...ndex() 判断当前字段的索引是否为布尔型 XSFieldMeta isNumeric() 判断当前字段是否为数字型 XSFieldMeta isSpeical() 判断当前字段是否为特殊类型 XSFieldMeta toConfig() 将对象转换为配置文件字符串 XSFieldMeta val() 把给...

9.XSIndex::update

... if (($value = $doc->f($field)) !== null) { $varg = $field->isNumeric() ? XS_CMD_VALUE_FLAG_NUMERIC : 0; $value = $field->val($value); if (!$field->hasCustomTokenizer()) { // internal tokenizer $wdf = $field->weight | ($field->withPos(...

10.XSServer

... // connect to server $conn = $this->_conn; if (is_int($conn) || is_numeric($conn)) { $host = 'localhost'; $port = intval($conn); } elseif (!strncmp($conn, 'file://', 7)) { // write-only for saving index exchangable data to file // NOTE: this will cause file con...

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