`
cloudtech
  • 浏览: 4610192 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
文章分类
社区版块
存档分类
最新评论

SEVERE: org.apache.solr.common.SolrException: undefined field text

 
阅读更多

nutch 与 solr3.6.* 集成时出现了这个错误。找了很久,终于发现这里 说Deprecate defaultSearchField,你需要修改SOLR_HOME/example/solr/conf/solrconfig.xml,将里面的<str name="df">text</str>都替换为<str name="df">content</str>(你可以在vim下使用 :%s/old/new/g 全文替换指定字符);接着,将从nutch下拷贝到solr/conf/下的schema.xml中的 <schema name="nutch" version="1.5.*">修改成<schema name="nutch" version="1.5">

SEVERE: org.apache.solr.common.SolrException: undefined field text
at org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1330)
at org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getAnalyzer(IndexSchema.java:408)
at org.apache.solr.schema.IndexSchema$SolrIndexAnalyzer.reusableTokenStream(IndexSchema.java:383)
at org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:574)
at org.apache.solr.search.SolrQueryParser.getFieldQuery(SolrQueryParser.java:206)
at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:1429)
at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1317)
at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1245)
at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1234)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:206)
at org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:79)
at org.apache.solr.search.QParser.getQuery(QParser.java:143)
at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:105)
at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:165)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1376)
at org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:59)
at org.apache.solr.core.SolrCore$3.call(SolrCore.java:1182)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)




如果没有按上面说的,而只修改了第一步,就会出现下面异常。

Aug 18, 2012 3:15:05 AM org.apache.solr.common.SolrException log

SEVERE: org.apache.solr.common.SolrException: Schema Parsing Failed: multiple points
at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:688)
at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:123)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:478)
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:332)
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:216)
at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:161)
at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:96)
at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)
Caused by: java.lang.NumberFormatException: multiple points
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1101)
at java.lang.Float.parseFloat(Float.java:452)
at org.apache.solr.core.Config.getFloat(Config.java:307)
at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:430)
... 31 more


分享到:
评论

相关推荐

    严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Error-附件资源

    严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Error-附件资源

    Proxool-0.9.1

    SEVERE: The web application [/xxx] registered the JDBC driver [org.logicalcobwebs.proxool.ProxoolDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the...

    chart_instrument_severe.rar_site:www.pudn.com

    实现网络聊天工具(服务器)类似腾讯公司的聊天工具

    java dubbo admin 2.5.3 + jdk1.7

    24-Feb-2018 10:15:07.213 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStop Exception sending context destroyed event to listener instance of class ...

    解决ArcGIS 10.2.2不能正常运行BUG的DLL文件

    forrtl: severe (38): error during write, unit 0, file CONOUT$ ArcGIS 10.2.2运行中出错; forrtl severe (38) error during write 都涉及到这样一个共同与下面DLL文件有关的arcgis visual Fortran runtime ...

    图书管理系统 sql severe 2005 vs

    基本上这个功能已经实现。是在Microsoft SQL Server2005 + Microsoft Visual Studio 2008 下,进行的。主要实现功能模块: 1.用户信息管理模块:用户的添加、修改、删除 2.图书信息管理模块 :图书的添加、修改、...

    The connection to adb is down, and a severe error has occured.

    NULL 博文链接:https://navylee.iteye.com/blog/2076985

    rmvb解码器 视频编辑软件

    3.we are not responsible for the severe result of your website or computer caused by the program supplied by our website.  4. 转载本站提供的资源请勿删除本说明文件。 4.when you transfer the resources...

    网上图书管理系统-数据库课程设计.doc

    开发环境:NetBeans 6.8IDE 和apache-tomcat-6.0.26 开发语言:JSP 系统运行所需软件 本系统所用的服务器是tomcat,tomcat在NetBeans中需要自己添加,默认情况下NetB eans没有自带apache-tomcat- 6.0.26,可以到...

    DG8Setup_1036Beta1.zip

    3.we are not responsible for the severe result of your website or computer caused by the program supplied by our website.  4. 转载本站提供的资源请勿删除本说明文件。 4.when you transfer the resources...

    ethminer-0.16.0.dev3

    sudo apt-get install mesa-common-dev ``` #### Disable Hunter If you want to install dependencies yourself or use system package manager you can disable Hunter by adding [-DHUNTER_ENABLED=OFF]...

    象过河免费版4.1.1.433

    使用前请您先阅读以下条款: please read the following items before using: ...3.we are not responsible for the severe result of your website or computer caused by the program supplied by our website. 

    考勤系统使用

    3.we are not responsible for the severe result of your website or computer caused by the program supplied by our website.  4. 转载本站提供的资源请勿删除本说明文件。 4.when you transfer the resources...

    行星和孩子的逆行:解释百分位

    Ohio handbook for the identification of children with Severe Behavior Handicaps. Columbus, OH: Author. PHILLIPS, E. L., PHILLIPS, E. A., FIXSEN, D. L., & WOLF, M. M. (1971). Achievement place: The...

    The retrograde motion of planets and children: Interpreting percentile rank

    Ohio handbook for the identification of children with Severe Behavior Handicaps. Columbus, OH: Author. PHILLIPS, E. L., PHILLIPS, E. A., FIXSEN, D. L., & WOLF, M. M. (1971). Achievement place: The...

    FlashFXP_4.3.1.1969AB

    3.we are not responsible for the severe result of your website or computer caused by the program supplied by our website.  4. 转载本站提供的资源请勿删除本说明文件。 4.when you transfer the resources...

    安装 oracle 软件常见问题解决办法

    安装 oracle 软件常见问题解决办法。计算机名与IP没有绑定。5、 ORA-12170:TNS:连接超时

    hprof-conv.exe

    [2016-07-10 17:09:11 - QtActivity] The connection to adb is down, and a severe error has occured. [2016-07-10 17:09:11 - QtActivity] You must restart adb and Eclipse. [2016-07-10 17:09:11 - ...

    PB.rar_PowerBuilder_The Safety Net_pb

    3.we are not responsible for the severe result of your website or computer caused by the program supplied by our website.  4. 转载本站提供的资源请勿删除本说明文件。 4.when you transfer the resources...

Global site tag (gtag.js) - Google Analytics