搜索

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

61.求助,搜索词有最短限制吗

更新时间:2014-05-22 15:05 t By 鸭梨山大

ini文件是这样配置的 [php] [active] index = self tokenizer = none [/php] 这个active 只保存1或者0 可是 搜索 [php] $search->setQuery("active:1")->search(); $search->setQuery('active:"1"')->search() [/php] 这样搜不出来啊 加上双引号也搜不出来 是不是这个有最短...

62.制作词库的时候有一堆没用的报错(make_xdb_file)

发布时间:2013-08-06 15:08 t By Panda006

Notice: Undefined index: part in C:\Users\Administrator\Desktop\tool\dev\make_xd b_file.php on line 92 PHP Notice: Undefined index: part in C:\Users\Administrator\Desktop\tool\dev\ma ke_xdb_file.php on line 92 Notice: Use of undefined constant key - assumed 'key' in C:\Users\Administrato Des...

63.获取索引对象就报错supplied argument is not a valid stream resource

更新时间:2012-08-09 17:08 t By blueo

XS Object ( [_index:private] => [_search:private] => [_scws:private] => [_scheme:private] => XSFieldScheme Object ( [_fields:private] => Array ( [newsid] => XSFieldMeta Object ( [name] => newsid [cutlen] => 0 [weight] => 1 [type] => 10 [vno] => 0 [tokenizer:private] => full [flag:private] => 1 )...

64.填充测试数据的时候出现错误

更新时间:2011-09-19 17:09 t By tisswb

...出现如下错误 [XSErrorException] ../usr/local/xunsearch/sdk/php/util/Indexer.php(176): ob_flush(): failed to flush buffer. No buffer to flush.(8) #0 [internal function]: xs_error_handler(8, 'ob_flush(): fai...', '/usr/local/xuns...', 176, Array) #1 /usr/local/xunsearch/sdk/php/util/Indexer.php(...

65.导入库的时候乱码,如下:

发布时间:2012-05-06 14:05 t By weizhao

...xecCommand(Array, 250) #1 /home/www/xunsearch/sdk/php/lib/XS.php(1246): XSIndex->addExdata('????????1??????...', false) #2 /home/www/xunsearch/sdk/php/lib/XS.php(1102): XSIndex->appendBuffer('????????37225??...') #3 /home/www/xunsearch/sdk/php/util/Indexer.php(237): XSIndex->update(Object(XSDocum...

66.平滑重建索引

...=== 前一章讲到有些情况不得不需要重建索引,可以用 [XSIndex::clean] 立即全部清空所有数据, 然后再把现有数据全部添加到索引数据库中。 但这种方式的缺点对于线上项目是难以容忍的,因此可以选择使用平滑重建方式。它的...

67.mysql导入数据配置文件里的字段要和数据库里的一样吗?

发布时间:2011-10-28 10:10 t By mengfanchao

...ng value of primarky key (FIELD:pid) #0 /usr/local/xunsearch/sdk/php/util/Indexer.php(195): XSIndex->update(Object(XSDocument)) sql语句: sql="select c.contentid,c.status,b.contentid from phpcms_content c,phpcms_c_news b where c.contentid=b.contentid and c.status=99" 配置文件:...

68.求助啊啊啊啊啊~~~同义词问题

更新时间:2014-04-22 09:04 t By zhouaini528

...目名称为:demo $search=$xs->search; $search->setAutoSynonyms(true); $index->addSynonym('搜索','检索'); $index->addSynonym('搜索','查找'); [/php] 然后查看是否成功 [php] $xs = new XS('demo'); // 建立 XS 对象,项目名称为:demo $search=$xs->search; $search->setAutoSynony...

69.在执行demo的时候出现这个事什么原因?Undefined data source type: `test.csv'

更新时间:2014-02-24 11:02 t By 情雨轩

[root@localhost xunsearch]# util/Indexer.php --source=test.csv --clean demo 清空现有索引数据 ... 初始化数据源 ... test.csv [XSException] util/XSDataSource.class.php(49): Undefined data source type: `test.csv' #0 Indexer.php(241): XSDataSource::instance('test.csv', NULL) #1 {main}...

70.搜索框提示怎么做?

发布时间:2013-06-02 05:06 t By angelandy

...: project.name = city [ID] type = id tokenizer = none [name] index = self tokenizer = xstep(1) cutlen = 15 phrase = yes [name_sc] index = self cutlen = 15 weight = 4 phrase = yes [name_tc] index = self cutlen = 15 weight = 3 phrase = yes 现在中文字都可以...

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