搭建Sphinx-for-chinese引擎时遇到的问题 No fields in schema - will not index.
来源:互联网 发布:linux系统管理员招聘 编辑:程序博客网 时间:2024/05/19 01:07
在 关于sphinx引擎的一些想法说过用Sphinx给同事搭引擎,可是那是建立在之前的配置文件之上,我只要依葫芦画瓢,改一改路径以及查询语句就搞定了,实质上没学到什么东西。在我看来,要想真正了解它,还是得重新造轮子,从头到尾自己搭一遍,在这个过程中出现了许多奇怪的错误,在这里记录一下。
1.checking for clock_gettime in -lrt…
这是我遇到的第一个问题,事实证明,这根本不是问题。到Sphinx-for-chinese下载了编译包,开始编译,之后就卡在了这里。刚开始以为是缺少librt,然而我在lib中找到了这个链接库。将编译包放在其它机器上编译,又是可以通过的,百思不得其解。只好到Sphinx-fro-chinese的QQ群里发问,黑猫给出解答是要将librt所在路径加入到etc/ld.so.conf,并运行ldconfig命令。按照他的办法,结果运行ldconfig命令时卡住了,于是可以断定是机器的问题。
2.ERROR: cannot find MySQL include files.
这个问题比较好解决,就是缺少MySQL的库文件。因为虚拟机装的是Ubuntu,只要运行以下命令就好了。
3.index ‘test1′: search error: query too complex, not enough stack (thread_stack=1217498K or higher required).
4.ERROR: index ‘main’: No fields in schema – will not index.
5.FATAL: there must be 2 indexes to merge specified
- 搭建Sphinx-for-chinese引擎时遇到的问题 No fields in schema - will not index.
- sphinx for chinese install
- mybatis配置遇到的问题There is no getter for property named 'post_title' in 'class
- SSH搭建遇到的问题---There is no result type defined for type 'json' mapped with name 'success'.
- PHP+Mysql+Sphinx高效的站内搜索引擎搭建详释
- PHP+Mysql+Sphinx高效的站内搜索引擎搭建详释
- PHP+Mysql+Sphinx高效的站内搜索引擎搭建详释
- PHP+Mysql+Sphinx高效的站内搜索引擎搭建详释
- No schema found for … extension point 问题
- I will write articles both in chinese and in english
- 在写Mybatis时遇到的问题:No constructor found in 包名+类名
- 早上遇到的问题,关于for in循环问题
- 遇到xxx is not translated in yyy, zzz的问题。
- Sphinx-for-chinese (中文全文搜索)安装步骤
- sphinx-for-chinese在windows下安装与使用方法
- The breakpoint will not currently be hit. No symbols have been loaded for this document
- warning: no umbrella header found for target 'xxxxx', module map will not be generated
- 搭建mono for andriod环境遇到的问题
- 如何制作Ubuntu SDK Live USB盘 (15.04 vivid)
- Thread in WIN32 & Linux
- C++实现反射机制
- JAVA锁机制
- 使用 getopt() 进行命令行处理
- 搭建Sphinx-for-chinese引擎时遇到的问题 No fields in schema - will not index.
- ios-AutoLayout(自动布局代码控制)简单总结
- sublime配置全攻略
- [LeetCode]13.Roman to Integer
- hdu 1011 Starship Troopers DP
- 简单的天气预报 (五)
- uva 111 History Grading
- Web_PHP_get_magic_quotes_gpc()函数;
- MMS技术及其在电力系统通信协议中的应用研究