搜索

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

351.XSFieldScheme::addField

... 参数为 string 时作为新建字段的配置内容 源码: sdk/php/lib/XSFieldScheme.class.php#L139 (显示) public function addField($field, $config = null){ if (!$field instanceof XSFieldMeta) { $field = new XSFieldMeta($field, $config); } if (isset($this->_fields[$field->...

352.XSSearch::setSort

...} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L289 (显示) public function setSort($field, $asc = false, $relevance_first = false){ if (is_array($field)) { return $this->setMultiSort($field, $asc, $relevance_first); } if ($field =...

353.XSSearch::getExpandedQuery

... {return} array 返回搜索词组成的数组 源码: sdk/php/lib/XSSearch.class.php#L755 (显示) public function getExpandedQuery($query, $limit = 10){ $ret = array(); $limit = max(1, min(20, intval($limit))); try { $buf = XS::convert($query, 'UTF-8', $this->_charset)...

354.为什么我更新的索引会没有数据呢?

更新时间:2012-09-28 10:09 t By zspoplar

...数据,就是搜不到。 require_once '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('zl'); $index = $xs->index; $doc = new XSDocument; $conn=mysql_connect("localhost", "root", "111111") or die("Could not connect: " . mysql_error()); mysql_select_db('zi, $conn) or die ('Can\'t...

355.Xunsearch 安装时常见错误解决办法(不断更新)!

更新时间:2011-09-26 10:09 t By hpxl

...错误提示:[code]Configuring xapian-core-scws ... ----- checking for library containing zlibVersion... -lz checking for uuid/uuid.h... no checking for uuid.h... no configure: error: Neither uuid/uuid.h nor uuid.h found - required for brass, chert and flint (you may need to install the uuid-...

356.RE: hi hightman, scws_ext cant be run on x64!!!??

发布时间:2010-12-20 08:12 t By postwhere

thanx for your reply, i compile the lib yestoday, it rely on php5.3.3 source like php.h,php_ini.h ect, so must i set php 5.3.3 main, ext, zend for the globle include directory, but last thing i cause is no config_w32.h in main, i got some help online, the config_w32.h file must be compile by myself...

357.XSSearch::addRange

...} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L349 (显示) public function addRange($field, $from, $to){ if ($from === '' || $from === false) { $from = null; } if ($to === '' || $to === false) { $to = null; } if ($fro...

358.安装scws-1.2.1时遇到的问题

发布时间:2013-02-01 13:02 t By fktuli

/bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT xdb.lo -MD -MP -MF .deps/xdb.Tpo -c -o xdb.lo xdb.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT xdb.lo -MD -MP -MF .deps/xdb.Tpo -c xdb.c -DDLL_EXPORT -DPIC -o .libs/xdb.o...

359.XSSearch::setMultiSort

...} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L246 (显示) public function setMultiSort($fields, $reverse = false, $relevance_first = false){ if (!is_array($fields)) { return $this->setSort($fields, !$reverse, $relevance_first); } ...

360.XSIndex::addExdata

...n} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L253 (显示) public function addExdata($data, $check_file = true){ if (strlen($data) < 255 && $check_file && file_exists($data) && ($data = file_get_contents($data)) === false) { t...

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