coreseek(sphinx)错误:WARNING: attribute 'id' not found - IGNORING原因及解决方法
来源:互联网 发布:层次聚类 python 编辑:程序博客网 时间:2024/05/18 18:15
这里有新鲜出炉的精品教程,程序狗速度看过来!
coreseek(sphinx)错误:WARNING: attribute 'id' not found - IGNORING原因及解决方法
coreseek(sphinx)建立索引时提示错误:
WARNING: attribute 'id' not found - IGNORING
原因:
sphinx不能使用主键来做属性字段,你的索引配置文件中一定用了类似
sql_attr_uint = id (id为表的主键)
解决方法:
去掉sql_attr_uint = id
或改为
sql_query = SELECT id,id as aid,body from table
sql_attr_uint = aid
即:在sql_query中给id用as 重新命个名子
0 0
- coreseek(sphinx)错误:WARNING: attribute 'id' not found - IGNORING原因及解决方法
- coreseek(sphinx)错误:WARNING: attribute 'id' not found - IGNORING原因及解决方法
- ”device not found“错误原因及解决方法
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class错误解决方法
- Ignoring InnerClasses attribute错误
- Android NDK: WARNING: Ignoring unknown import directory:错误解决方法
- Dx warning: Ignoring InnerClasses attribute for an anonymous inner class 错误 和Dx UNEXPECTED TOP-LEVE
- android开发 签名打包时错误Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- 编译超过2000+错误Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class 错误怎么解决
- Android studio 2.2 Error:warning: Ignoring InnerClasses attribute for an anonymous inner class错误
- android studio错误,Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- command not found错误原因
- image not found 错误解决方法
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions异常原因及解决方法
- hibernate xxx is not mapped 错误原因及解决方法
- 测试sphinx/coreseek xmlpipe2 support NOT compiled
- 对于解决androidstudio编辑时发生的错误Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- C语言中关于时间的函数
- PRML_决策论&信息论
- php 对象复制
- Android实战简易教程<二十八>(Uri转String型实例)
- 几种网页弹出层的实现
- coreseek(sphinx)错误:WARNING: attribute 'id' not found - IGNORING原因及解决方法
- 支持向量机:Kernel II
- hibernate泛型Dao,让持久层简洁起来
- CompletionService
- STL系列之六 set与hash_set
- nova 9.24会议纪要
- UI26_编程总结
- 正则化与反问题
- Entity Framework - 理清关系 - 基于外键关联的单向一对一关系