sphinx -- 3




200x200


概述经过几周的重构,博客在结构上、编码风格上日趋完善,虽然在前端显示上还有着明显的不足,后端也有着很多需要进一步改进和完善的地方,但是作为一个简单、初步的 php web 

#技术帖    #symfony    #web    #php   
# # Minimal Sphinx configuration sample (clean, simple, functional) # source src_all { type = mysql sql_host = localhost sql_user = root sql_pass = zeyu2032 sql_db = zeyu_blog sql_port = 3306 # optional, default is 3306 sql_query = \ SELECT article_id, lower(draft) FROM article; sql_attr_uint = article_id } index all { source = src_all path = /usr/local/sphinx/var/data/zeyu_blog/all mlock = 0 morphology = none docinfo = extern min_word_len = 1 html_strip = 0 #stopwords = /path/to/stowords.txt的位置 charset_type = zh_cn.utf-8 ngram_len
#技术帖    #linux    #配置文件    #mysql   
sphinx 安装tar -zxvf sphinx-2.2.5-release.tar.gzcd sphinx-2.2.5-release/sudo apt-get install libmysql++-dev libmysqlclient15-dev checkinstallsudo ./configure --prefix=/usr/local/sphinx/   --with-mysql  --enable-id64sudo makesudo make install 中文索引库安装tar -zxvf coreseek-3.2.14.tar.gzcd coreseek-3.2.14/cd mmseg-3.2.14/sudo ./bootstrapsudo ./configure --prefix=/usr/local/mmseg3sudo makesudo make install cd ../csft-3.2.14/sh buildconf.shsu
#技术帖    #mysql    #技术分享    #sphinx   



京ICP备15018585号