霍克依毒间

导航

 

2012年6月24日

摘要: 执行命令D:\sphinx\bin>searchd --install --config d:/sphinx/bin/sphinx.conf --servicenameSphinxSearchD:\sphinx\bin>net start SphinxSearchSphinxSearch 服务正在启动 .SphinxSearch 服务无法启动。系统出错。发生系统错误 1067。进程意外终止。错误原因在于sphinx.conf中将utf-8错写为utf-8,修改后,成功。 阅读全文
posted @ 2012-06-24 22:48 霍克依毒间 阅读(829) 评论(0) 推荐(0) 编辑
 
摘要: Again, I still suck at documentation, and my “tutorials” aren’t in-depth enough. So hopefully this covers all of the questions regarding using the django-sphinx module.The first thing you’re going to need to do is install the Sphinx search software. You will be able to get this throughhttp://www.sph 阅读全文
posted @ 2012-06-24 21:56 霍克依毒间 阅读(306) 评论(0) 推荐(0) 编辑
 
摘要: 参考文章链接:http://github.com/dcramer/django-sphinxhttp://pkarl.com/articles/guide-django-full-text-search-sphinx-and-django-sp/http://www.davidcramer.net/code/79/in-depth-django-sphinx-tutorial.html首先需要已经安装好django以及sphinx我的版本如下:Django 1.1.1Sphinx 0.9.91.安装django-sphinx到http://pypi.python.org/pypi/django 阅读全文
posted @ 2012-06-24 21:45 霍克依毒间 阅读(1138) 评论(0) 推荐(0) 编辑
 
摘要: 试用djangosphinx,searchd之后,建立一个页面,显示connection to localhost;3312 failed错误,找到sphinx.conf文件,将listen= 9312改为listen= 3312,成功,估计是版本的问题。 阅读全文
posted @ 2012-06-24 21:44 霍克依毒间 阅读(324) 评论(0) 推荐(0) 编辑
 
摘要: 搜索准备用djangosphinx,python manage.py generate_sphinx_config[questions]>>d:\sphinx\bin\sphinx.conf时出现错误 File "C:\Python27\lib\site-packages\django_sphinx-2.2.4-py2.7.egg\djangosphinx\utils\config.py", line 51, in <module> 'database_engine': _get_database_engine(), File &qu 阅读全文
posted @ 2012-06-24 21:17 霍克依毒间 阅读(210) 评论(0) 推荐(0) 编辑
 
摘要: Sphinx在windows下安装使用前一阵子尝试使用了一下Sphinx,一个能够被各种语言(PHP/Python/Ruby/etc)方便调用的全文检索系统。网上的资料大多是在linux环境下的安装使用,当然,作为生产环境很有必要部署在*nix环境下,作为学习测试,还是windows环境比较方便些。本文旨在提供一种便捷的方式让Sphinx在windows下安装配置以支持中文全文检索,配置部分在linux下通用。一、关于SphinxSphinx是一个在GPLv2下发布的一个全文检索引擎,商业授权(例如,嵌入到其他程序中)需要联系作者(Sphinxsearch.com)以获得商业授权。一般而言,S 阅读全文
posted @ 2012-06-24 19:19 霍克依毒间 阅读(243) 评论(0) 推荐(0) 编辑