解决:Unable to identify index name. XXXModel is not a Document. Make sure the document class is annota
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家。点击跳转到教程。
1. 往 elasticsearch 写入数据调用 index 方法,执行报错:
Unable to identify index name. XXXModel is not a Document.Make sure the document class is annotated with @Document(indexName="foo")
2. 原因:XXXModel 实体类上少注解, 加上此注解就可:
@Document(indexName = "cxx_es", type = "cxx_es")
解决:Unable to identify index name. XXXModel is not a Document. Make sure the document class is annota相关推荐
- (转载)解决eclipse安装maven的问题:Unable to update index for central|http://repo1.maven.org/maven2...
问题产生如下: 因为单位使用了过滤,访问Internet时,超过10M的内容就拒绝. 因为maven插件在初始时,需要下载Maven的index文件,这个文件比较大,有38M多,下载不成功. 所以造成 ...
- 解决eclipse安装maven的问题:Unable to update index for central
解决eclipse安装maven的问题:Unable to update index for central 参考文章: (1)解决eclipse安装maven的问题:Unable to update ...
- Unable to update index for central http://repo1.maven.org/maven2/
http://blog.csdn.net/luoqiaozhen/article/details/5800418 Unable to update index for central http://r ...
- Unable to identify any set of controllers that can actuate the specified joints:
提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档 文章目录 背景 一.解决办法 二.总结 背景 具体的报错如下: [ERROR] [1649324583.023988413]: Una ...
- ORA-01654: unable to extend index by 128 in tablespace USERS
今天在开发环境出现如下问题 Caused by:java.SQLException:ORA-01654: unable to extend index OPEN_CARE_BPM.ACT_IDX_HI ...
- ora-01654 unable to extend index
之前一直使用mysql,换了新工作初用oracle数据库,使用create table XXX as select * from XXX语句备份单张表时出现ora-01654 unable to ex ...
- ubuntu14.04.5装cuda7.5记录(解决unable to locate the kernel source,装cuda黑屏问题,装cuda循环登录问题)
ubuntu14.04.5装cuda7.5记录(解决unable to locate the kernel source,装cuda黑屏问题,装cuda循环登录问题) 参考文章: (1)ubuntu1 ...
- Windows下Python 3.6 + VS2017 + Anaconda 解决Unable to find vcvarsall.bat问题
Windows下Python 3.6 + VS2017 + Anaconda 解决Unable to find vcvarsall.bat问题 参考文章: (1)Windows下Python 3.6 ...
- Sublime Text 解决 Unable to download XXX 问题
Sublime Text 解决 Unable to download XXX 问题 参考文章: (1)Sublime Text 解决 Unable to download XXX 问题 (2)http ...
最新文章
- ExtJs中column与form布局的再次领悟
- oracle中or的替函数,Oracle常用内置Or自定义函数-SQL宝典
- 知识图谱学习笔记-风控知识图谱设计
- 删除username的索引
- 80486微型计算机的字长,80486,80586等是什么样的电脑?
- Error Domain=NSURLErrorDomain Code=-999 The opera
- [渝粤教育] 广东-国家-开放大学 10763k2_客户服务管理_21秋考试
- PCL学习(三) SAC-IA 估记object pose
- 天才程序员之陨落:业余项目创业 Cloudflare,公司上市前患病失去自理能力
- 今天终于安装了Snippet Compiler!!!
- Golang (Go语言) Mac OS X下环境搭建 环境变量配置 开发工具配置 Sublime Text 2 【转】...
- Linux虚拟文件系统(内核初始化一)
- 生物信息学在疾病基础研究中的应用
- 单表(sqlserver不支持)、整库,支持本地和远程备份
- 阿里巴巴连接池mysql_阿里巴巴连接池(Druid)
- (组合数+快速幂+lucas+费马小引理)acwing 887. 求组合数 III
- 记一次在vue项目上使用七牛文件上传的坑
- PHP微信公众号开发接口封装
- 1943中途岛海战2020年8月22日海龟画图版(原雷电模拟升级版)
- 计算球第n次落地时经过的距离和反弹的高度
热门文章
- ASP.NET Core管道深度剖析(3):管道是如何处理HTTP请求的?
- 第七节: EF的三种事务的应用场景和各自注意的问题(SaveChanges、DBContextTransaction、TransactionScope)
- 第五节: EF高级属性(一) 之 本地缓存、立即加载、延迟加载(不含导航属性)
- sharepoint 到底是什么
- JAVA的Future类
- 【牛客 - 301哈尔滨理工大学软件与微电子学院第八届程序设计竞赛同步赛(高年级)】小乐乐搭积木(状压dp)
- 【牛客 - 302哈尔滨理工大学软件与微电子学院第八届程序设计竞赛同步赛(低年级)】 小乐乐算数字(水题,快速幂,lowbit)
- 动手学无人驾驶(3):基于激光雷达3D多目标追踪
- java编写学籍管理系统_java学籍管理系统源代码.doc
- mysql多实例脚本_mysql多实例脚本