搜索

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

361.XSIndex::del

...n} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L220 (显示) public function del($term, $field = null){ // get field $field = $field === null ? $this->xs->getFieldId() : $this->xs->getField($field); // get commands $cmds = array(); $t...

362.RE: 安装scws-1.1.5时遇到问题:Unable to load dynamic library

发布时间:2011-01-12 22:01 t By hightman

... make make install 这时 .so 可能会安装到默认的 /usr/local/php/lib/extensions/no-debug ... 拷到你需要的位置,以这个方式编译出来的 scws.so 至少对于 /usr/local/php/bin/php 是可用的。 此外再用一下 /usr/local/php/bin/php -v 确认版本,以及查看一...

363.RE: Hightman 你好,我在编译scws时出现了问题

发布时间:2009-05-07 17:05 t By crackx

...s/bin/scws -h 是不能运行的,只好在/etc/ld.so.conf中加入scws的lib路径才可以运行,但test.c测试程序无法编译,错误信息: test.c:1:10: #include expects "FILENAME" or test.c: In function `main': test.c:4: error: `scws_t' undeclared (first use in this function) tes...

364.XSServer::execCommand

...则返回 true, 其它返回响应的 XSCommand 对象 源码: sdk/php/lib/XSServer.class.php#L279 (显示) public function execCommand($cmd, $res_arg = XS_CMD_NONE, $res_cmd = XS_CMD_OK){ // create command object if (!$cmd instanceof XSCommand) { $cmd = new XSCommand($cmd); } ...

365.RE: search时报错 ,请帮看看是哪的问题

发布时间:2012-12-10 13:12 t By benq81

[XSException] ThinkPHP/Extend/Vendor/sdk/php/lib/XS.php(2087): Unknown Internal Error(S#600) 现在又报这个错误 我执行最新的程序后查看了下执行后的日志: 2012-12-10 13:39:13 worker1[17463] new connection (SOCK:7, IP:127.0.0.1, BURST:1) 2012-12-10 13:39:13 worker1[17463] [soc...

366.RE: 填充测试数据的时候出现错误

发布时间:2011-09-20 16:09 t By tisswb

...8 INFO: reach end of file or error occured, total lines: 3 [XSException] lib/XS.php(1832): Failed to open file(S#513) #0 ../phplib/XS.php(1089): XSServer->execCommand(Array, 250) #1 ../phplib/XS.php(1094): XSIndex->addExdata('????????1??????...') #2 ../phplib/XS.php(1100): XSIndex->openBuffer(0...

367.Demo遇险记:今天碰到的错误,5576段错误莫名被解决

更新时间:2011-12-01 22:12 t By 五岳之巅

...d /usr/local/xunsearch/ [root@sm xunsearch]# ls bin data etc include lib sdk share tmp [root@sm xunsearch]# ./sdk/php/util/ Indexer.php Quest.php SearchSkel.php XSDataSource.class.php IniWizzard.php RequiredCheck.php skel/ ...

368.自定义分词器

...为 `XSTokenizerXyz.class.php`,请将文件统一放入 `$prefix/sdk/php/lib` 目录。 通常来讲,您只需要实现 [XSTokenizer::getTokens] 即可。该函数接受 2个参数,分别为要分词的值以及 当前的文档对象(可选);返回值为分好的词汇组成的数组。下...

369.XSFieldMeta::toConfig

... {return} string 转换后的配置文件字符串 源码: sdk/php/lib/XSFieldScheme.class.php#L452 (显示) public function toConfig(){ // type $str = "[" . $this->name . "]\n"; if ($this->type === self::TYPE_NUMERIC) { $str .= "type = numeric\n"; } elseif ($this->type =...

370.XSFieldMeta::fromConfig

...config) $config array 原始配置属性数组 源码: sdk/php/lib/XSFieldScheme.class.php#L514 (显示) public function fromConfig($config){ // type & default setting if (isset($config['type'])) { $predef = 'self::TYPE_' . strtoupper($config['type']); if (defined($p...

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