lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <erik.hatc...@gmail.com>
Subject Re: Magento solr Invalid Date String:'false'
Date Mon, 19 Aug 2013 17:56:06 GMT
Best to post to the solr-user list rather than general, but looks like you've got a type mismatch:

    'lepubdate_datetime'='false'

What type is lepubdate_datetime?   I'm guessing it's a "date" type and shouldn't be getting
the value 'false' :)

	Erik


On Aug 19, 2013, at 02:53 , Nikesh12 wrote:

> We are getting below message during solr indexing running by cron setting in
> magento.
> 
> 
> Aug 12, 2013 8:06:15 AM org.apache.solr.update.processor.LogUpdateProcessor
> finish
> INFO: {add=[24P1602]} 0 1
> Aug 12, 2013 8:06:16 AM org.apache.solr.common.SolrException log
> SEVERE: org.apache.solr.common.SolrException: ERROR: [doc=24P1602] Error
> adding field 'lepubdate_datetime'='false'
>        at
> org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:333)
>        at
> org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60)
>        at
> org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:115)
>        at
> org.apache.solr.handler.JsonLoader.processUpdate(JsonLoader.java:100)
>        at org.apache.solr.handler.JsonLoader.load(JsonLoader.java:75)
>        at
> org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:58)
>        at
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
>        at
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:244)
>        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1376)
>        at
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:365)
>        at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:260)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>        at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>        at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
>        at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
>        at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>        at java.lang.Thread.run(Thread.java:722)
> Caused by: org.apache.solr.common.SolrException: Invalid Date String:'false'
>        at org.apache.solr.schema.DateField.parseMath(DateField.java:161)
>        at org.apache.solr.schema.TrieField.createField(TrieField.java:419)
>        at
> org.apache.solr.schema.TrieDateField.createField(TrieDateField.java:120)
>        at
> org.apache.solr.schema.SchemaField.createField(SchemaField.java:103)
>        at
> org.apache.solr.update.DocumentBuilder.addField(DocumentBuilder.java:203)
>        at
> org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:286)
>        ... 22 more
> 
> Aug 12, 2013 8:06:16 AM org.apache.solr.core.SolrCore execute
> 
> 
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Magento-solr-Invalid-Date-String-false-tp4085390.html
> Sent from the Lucene - General mailing list archive at Nabble.com.


Mime
View raw message