比如我有一个栏目ID筛选条件 catid:11 搜索出来的数据,还是有不是catid=11的数据。 配置文件,有catid这个字段 [catid] type = numeric index = self
... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for PHP prefix... /usr/local/php checking for PHP includes... -I/usr/local/php/include/php -I/...
...ch/data/products -c gbk [XSException] ../lib/XS.php(819): Missing field of type ID #0 ../lib/XS.php(522): XSFieldScheme->checkValid(true) #1 ../lib/XS.php(296): XS->loadIniFile('/export/home/ww...') #2 Logger.php(94): XS->__construct('/export/home/ww...') 配置文件没有问题,搜索结果也...
...,设置要返回的词数量上限,默认为 6,最大值为 50 * `$type` 指定排序类型,默认为 `total`(总量),可选值还有:`lastnum`(上周) 和 `currnum`(本周) ~~~ [php] $words = $search->getHotQuery(); // 获取前 6 个总热门搜索词 $words = $search->getHotQuery(1...
...---------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------+-----------------------+------+-----+---------+----------------+ | did | mediumint(8) unsigned | NO | PRI | NULL | auto_increment...
...怎么实现的? [name] //分类名 index = self [cid] //分类id type = numeric index = none 在搜索页面 $search->setFacets('name'); //得到分面搜索数据 // get the result $search_begin = microtime(true); $docs = $search->search(); $facelist = $search->getFacets('name')...
...o checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for PHP prefix... /opt/lampp checking for PHP includes... -I/opt/lampp/include/php -I/opt/...
.../usr/local/mysql51/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --w...
...erver.index = 192.168.0.250:8383 server.search = 192.168.0.250:8384 [tid] type = id [fid] index = self tokenizer = full [author] [authorid] index = self tokenizer = full [postdate] tokenizer = full [subject] type = title [content] type = body #导入 php util/Indexer.php --rebuild --source=m...
...务端用默认值 ;server.index = 8383 ;server.search = 8384 [did] type = id [title] type = title [tag] index = self [content] type = body[/code] 其中did为hdwiki每个词条唯一的编号(这个与url对应) title为词条的名字(需要能搜索) tag为词条的...