摘要: ## Sphinx configuration file sample## WARNING! While this sample file mentions all available options,# it contains (very) short helper descriptions on... 阅读全文
posted @ 2016-01-15 16:55 similarface 阅读(442) 评论(0) 推荐(0) 编辑
摘要: 在Centos or redhat 安装Sphinx1.首先安装依赖包$ yum install postgresql-libs unixODBC2.安装软件$ rpm -Uhv sphinx-2.2.1-1.rhel6.x86_64.rpm3.启动服务$ service searchd start... 阅读全文
posted @ 2016-01-15 15:54 similarface 阅读(592) 评论(0) 推荐(0) 编辑
摘要: #conding:utf-8__author__ = 'similarface'import sys#子字符串选择print('HK usa china'[5:10]) #a chi#字符串可以+print('similar'+'face') ... 阅读全文
posted @ 2016-01-15 11:08 similarface 阅读(433) 评论(0) 推荐(0) 编辑