org.apache.solr.common.SolrException: undefined field text
来源:互联网 发布:怎么下载word2013软件 编辑:程序博客网 时间:2024/06/05 20:15
启动solr的时候,报了一个错
ERROR (searcherExecutor-7-thread-1-processing-x:new_core) [ x:new_core] o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: undefined field text
at org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1308)
at org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getWrappedAnalyzer(IndexSchema.java:452)
at org.apache.lucene.analysis.DelegatingAnalyzerWrapper$DelegatingReuseStrategy.getReusableComponents(DelegatingAnalyzerWrapper.java:84)
at org.apache.lucene.analysis.Analyzer.tokenStream(Analyzer.java:191)
at org.apache.lucene.util.QueryBuilder.createFieldQuery(QueryBuilder.java:235)
at org.apache.solr.parser.SolrQueryParserBase.newFieldQuery(SolrQueryParserBase.java:413)
at org.apache.solr.parser.SolrQueryParserBase.getFieldQuery(SolrQueryParserBase.java:891)
at org.apache.solr.parser.SolrQueryParserBase.handleBareTokenQuery(SolrQueryParserBase.java:637)
at org.apache.solr.parser.QueryParser.Term(QueryParser.java:312)
at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:182)
at org.apache.solr.parser.QueryParser.Query(QueryParser.java:102)
at org.apache.solr.parser.QueryParser.TopLevelQuery(QueryParser.java:91)
at org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:194)
at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:50)
at org.apache.solr.search.QParser.getQuery(QParser.java:168)
at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:160)
at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:269)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:166)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:2299)
at org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:72)
at org.apache.solr.core.SolrCore.lambda$getSearcher$3(SolrCore.java:2071)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
找了一下原因,是自己无意间把schema.xml里面的属性的field:text fieldType:text_general 这个属性删掉了,这个是schema.xml自己的,所以导致了一直报上面的那个错,加上去就好了,启动的时候不会报错了
- Solr org.apache.solr.common.SolrException: undefined field text
- SEVERE: org.apache.solr.common.SolrException: undefined field text
- org.apache.solr.common.SolrException: undefined field text 的解决办法
- solrExecption : org.apache.solr.common.SolrException: undefined field text
- org.apache.solr.common.SolrException: undefined field text
- org.apache.solr.common.SolrException: undefined field text
- org.apache.solr.common.SolrException undefined field text
- solr启动时报错org.apache.solr.common.SolrException: undefined field text的解决办法
- org.apache.solr.common.SolrException
- org.apache.solr.common.SolrException: No such core: core0
- org.apache.solr.common.SolrException: Request-URI Too Large
- 求解决 org.apache.solr.common.SolrException: Internal Server Error
- org.apache.solr.common.SolrException: Error opening new searcher
- schema.doc.xml报错pic: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Coul
- solr - org.apache.solr.common.SolrException: Could not load config for solrconfig.xml
- solr服务器报错:org.apache.solr.common.SolrException: Could not find necessary SLF4j logging jars
- org.apache.solr.common.SolrException: ERROR: multiple values encountered for non multiValued copy
- 使用SolrCloud出现org.apache.solr.common.SolrException: Collection not found: my_solr2
- Android Studio3.0,卡编译的解决办法...
- MyBatis的运行原理
- 写作建议
- java invoke 反射机制实现演练
- String类理解
- org.apache.solr.common.SolrException: undefined field text
- Redis 安装与测试
- prince2的简单描述
- Django-part6-app's style-polls/static/polls/sytle.css
- Vue.js入门基础知识
- ionic 3.0+ 项目搭建运行
- android 运行时权限 github 库 [附文章][记录]
- Hibernate如何使用BigDecimal
- 人生中第一个记忆化搜索题 hdu1978