DedeCMS v5.7全文检索使用说明(sphinx)
2012-03-30 11:55:14 来源:WEB开发网核心提示: sql_attr_uint = click sql_attr_uint = badpost sql_attr_uint = goodpost sql_attr_uint = scores sql_attr_uint = mid sql_attr_timestamp = pubdate #从S
sql_attr_uint = click
sql_attr_uint = badpost
sql_attr_uint = goodpost
sql_attr_uint = scores
sql_attr_uint = mid
sql_attr_timestamp = pubdate #从SQL读取到的值必须为整数,作为时间属性
sql_attr_timestamp = senddate
sql_attr_timestamp = lastpost
sql_attr_uint = badpost
sql_attr_uint = goodpost
sql_attr_uint = scores
sql_attr_uint = mid
sql_attr_timestamp = pubdate #从SQL读取到的值必须为整数,作为时间属性
sql_attr_timestamp = senddate
sql_attr_timestamp = lastpost
#命令行查询时,从数据库读取原始数据信息
sql_query_info = SELECT ARC.*,ART.body FROM dede_archives AS ARC LEFT JOIN dede_addonarticle AS ART ON ARC.id = ART.aid WHERE ARC.id=$id
}
source delta
{
type = mysql
# 数据库服务器基本配置信息
sql_host = 192.168.0.103
sql_user = dedev57
sql_pass = dedecms
sql_db = dedecmsv57gbk
sql_port = 3306
sql_query_pre = SET NAMES gbk
更多精彩
赞助商链接