搜索

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

1.XSSearch::setCollapse

... setCollapse($field, $num = 1){ $vno = $field === null ? XSFieldScheme::MIXED_VNO : $this->xs->getField($field, true)->vno; $max = min(255, intval($num)); $cmd = new XSCommand(XS_CMD_SEARCH_SET_COLLAPSE, $max, $vno); $this->execCommand($cmd); return $this;} 设置折叠搜索结...

2.XSSearch::addQueryTerm

...n', intval($scale * 100)) : ''; $vno = $field === null ? XSFieldScheme::MIXED_VNO : $this->xs->getField($field, true)->vno; $cmd = new XSCommand(XS_CMD_QUERY_TERM, $addOp, $vno, $term, $bscale); $this->execCommand($cmd); return $this;} 增加默认搜索词汇

3.XSFieldScheme::addField

...me; } $field->vno = ($field->type == XSFieldMeta::TYPE_BODY) ? self::MIXED_VNO : count($this->_vnoMap); $this->_vnoMap[$field->vno] = $field->name; // save field, ensure ID is the first field if ($field->type == XSFieldMeta::TYPE_ID) { $this->_fields = array_merge(array($field-...

4.XSSearch::setMultiSort

...->vno; $asc = false; } if ($vno != XSFieldScheme::MIXED_VNO) { $buf .= chr($vno) . chr($asc ? 1 : 0); } } if ($buf !== '') { $type = XS_CMD_SORT_TYPE_MULTI; if ($relevance_first) { $type |= XS_CMD_SORT_FLAG_RELEVANCE; }...

5.XSIndex::update

... $cmds[] = new XSCommand(XS_CMD_DOC_INDEX, $wdf, XSFieldScheme::MIXED_VNO, $value); } if ($field->hasIndexSelf()) { $wdf |= $field->isNumeric() ? 0 : XS_CMD_INDEX_FLAG_SAVEVALUE; $cmds[] = new XSCommand(XS_CMD_DOC_INDEX, ...

6.XSFieldMeta::fromConfig

...his->type == self::TYPE_BODY) { $this->vno = XSFieldScheme::MIXED_VNO; $this->flag = self::FLAG_INDEX_SELF | self::FLAG_WITH_POSITION; $this->cutlen = 300; } } } // index flag if (isset($config['index']) && $this->type != self::...

7.XSFieldScheme

...me; } $field->vno = ($field->type == XSFieldMeta::TYPE_BODY) ? self::MIXED_VNO : count($this->_vnoMap); $this->_vnoMap[$field->vno] = $field->name; // save field, ensure ID is the first field if ($field->type == XSFieldMeta::TYPE_ID) { $this->_fields = array_merge(array($field-...

8.XSIndex

... $cmds[] = new XSCommand(XS_CMD_DOC_INDEX, $wdf, XSFieldScheme::MIXED_VNO, $value); } if ($field->hasIndexSelf()) { $wdf |= $field->isNumeric() ? 0 : XS_CMD_INDEX_FLAG_SAVEVALUE; $cmds[] = new XSCommand(XS_CMD_DOC_INDEX, ...

9.XSFieldMeta

...his->type == self::TYPE_BODY) { $this->vno = XSFieldScheme::MIXED_VNO; $this->flag = self::FLAG_INDEX_SELF | self::FLAG_WITH_POSITION; $this->cutlen = 300; } } } // index flag if (isset($config['index']) && $this->type != self::...

10.XSSearch

...n', intval($scale * 100)) : ''; $vno = $field === null ? XSFieldScheme::MIXED_VNO : $this->xs->getField($field, true)->vno; $cmd = new XSCommand(XS_CMD_QUERY_TERM, $addOp, $vno, $term, $bscale); $this->execCommand($cmd); return $this;} 增加默认搜索词汇 参见 addQueryStri...

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