lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ritesh Kumar (Avanade)" <v-kur...@microsoft.com.INVALID>
Subject Invalid Date in Date Math String
Date Tue, 20 Aug 2019 23:16:45 GMT
Hello,

We have been using solr 6.6.3 with Sitecore 9, however currently we seem to be observing the
below issue while rebuilding the index "Invalid Date in Date Math String"
We already applied the patch located at the below location but it did not fix the issue:
https://github.com/SitecoreSupport/Sitecore.Support.178247/releases/tag/8.2.2.0

Please let me know if anyone was able to fix this issue with any other method. (Note: I have
updated my Sitecore support ticket as well with the same details)

5980 22:10:20 WARN  [Index=xxxxxxx _index] Crawler : AddRecursive DoItemAdd failed - {F8057A68-6A5A-43ED-8781-BFA36D4DF3EE}
Exception: SolrNet.Exceptions.SolrConnectionException
Message: <?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">400</int><int name="QTime">325</int></lst><lst
name="error"><lst name="metadata"><str name="error-class">org.apache.solr.common.SolrException</str><str
name="root-error-class">java.time.format.DateTimeParseException</str><str name="error-class">org.apache.solr.common.SolrException</str><str
name="root-error-class">java.time.format.DateTimeParseException</str><str name="error-class">org.apache.solr.common.SolrException</str><str
name="root-error-class">java.time.format.DateTimeParseException</str><str name="error-class">org.apache.solr.common.SolrException</str><str
name="root-error-class">java.time.format.DateTimeParseException</str><str name="error-class">org.apache.solr.common.SolrException</str><str
name="root-error-class">java.time.format.DateTimeParseException</str><str name="error-class">org.apache.solr.common.SolrException</str><str
name="root-error-class">java.time.format.DateTimeParseException</str><str name="error-class">org.apache.solr.common.SolrException</str><str
name="root-error-class">java.time.format.DateTimeParseException</str><str name="error-class">org.apache.solr.update.processor.DistributedUpdateProcessor$DistributedUpdatesAsyncException</str><str
name="root-error-class">org.apache.solr.update.processor.DistributedUpdateProcessor$DistributedUpdatesAsyncException</str></lst><str
name="msg">7 Async exceptions during distributed update:
Error from server at x.x.x.x:8983/solr/xxxxxxxx_index_shard2_replica2: Bad Request

request: x.x.x.x:8983/solr/xxxxxxxx_index_shard2_replica2/update?update.distrib=TOLEADER&amp;distrib.from=https%3A%2F%2F40.113.227.147%3A8983%2Fsolr%xxxxxxxx_index_shard1_replica3%2F&amp;wt=javabin&amp;version=2
Remote error message: Invalid Date in Date Math String:'20180730T164926Z'
Error from server at x.x.x.x:8983/solr/xxxxxxxxx_index_shard1_replica2: Bad Request

request: x.x.x.x:8983/solr/xxxxxxx_index_shard1_replica2/update?update.distrib=TOLEADER&amp;distrib.from=https%3A%2F%2F40.113.227.147%3A8983%2Fsolr%2Fxxxxxxx_index_shard1_replica3%2F&amp;wt=javabin&amp;version=2
Remote error message: Invalid Date in Date Math String:'20170901T183400Z'
Error from server at x.x.x.x:8983/solr/xxxxxxx_index_shard2_replica2: Bad Request

request: x.x.x.x:8983/solr/xxxxxxx_index_shard2_replica2/update?update.distrib=TOLEADER&amp;distrib.from=https%3A%2F%2F40.113.227.147%3A8983%2Fsolr%2Fxxxxxxx_index_shard1_replica3%2F&amp;wt=javabin&amp;version=2
Remote error message: Invalid Date in Date Math String:'20171026T181027Z'
Error from server at x.x.x.x:8983/solr/xxxxxxx_index_shard2_replica2: Bad Request

request: x.x.x.x:8983/solr/xxxxxxx_index_shard2_replica2/update?update.distrib=TOLEADER&amp;distrib.from=https%3A%2F%2F40.113.227.147%3A8983%2Fsolr%2Fxxxxxxx_index_shard1_replica3%2F&amp;wt=javabin&amp;version=2
Remote error message: Invalid Date in Date Math String:'20171028T070000Z'
Error from server at x.x.x.x:8983/solr/xxxxxxx_index_shard1_replica2: Bad Request

request: x.x.x.x:8983/solr/xxxxxxx_index_shard1_replica2/update?update.distrib=TOLEADER&amp;distrib.from=https%3A%2F%2F40.113.227.147%3A8983%2Fsolr%2Fxxxxxxx_index_shard1_replica3%2F&amp;wt=javabin&amp;version=2
Remote error message: Invalid Date in Date Math String:'20171004T070000Z'
Error from server at x.x.x.x:8983/solr/xxxxxxx_index_shard2_replica2: Bad Request

request: x.x.x.x:8983/solr/xxxxxxx_index_shard2_replica2/update?update.distrib=TOLEADER&amp;distrib.from=https%3A%2F%2F40.113.227.147%3A8983%2Fsolr%2Fxxxxxxx_index_shard1_replica3%2F&amp;wt=javabin&amp;version=2
Remote error message: Invalid Date in Date Math String:'20170314T000000Z'
Error from server at x.x.x.x:8983/solr/xxxxxxx_index_shard1_replica2: Bad Request

request: x.x.x.x:8983/solr/xxxxxxx_index_shard1_replica2/update?update.distrib=TOLEADER&amp;distrib.from=https%3A%2F%2F40.113.227.147%3A8983%2Fsolr%2Fxxxxxxx_index_shard1_replica3%2F&amp;wt=javabin&amp;version=2
Remote error message: Invalid Date in Date Math String:'20170626T000000Z'</str><int
name="code">400</int></lst>
</response>

Source: SolrNet
   at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream
content, IEnumerable`1 parameters)
   at SolrNet.Impl.SolrConnection.Post(String relativeUrl, String s)
   at SolrNet.Impl.SolrBasicServer`1.SendAndParseHeader(ISolrCommand cmd)
   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddRange(IEnumerable`1 group,
Int32 groupSize)
  at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddDocument(Object itemToAdd,
IExecutionContext[] executionContexts)
   at Sitecore.ContentSearch.SolrProvider.SolrIndexOperations.ApplyPermissionsThenIndex(IProviderUpdateContext
context, IIndexable version)
   at Sitecore.ContentSearch.SitecoreItemCrawler.DoAdd(IProviderUpdateContext context, SitecoreIndexableItem
indexable)
   at Sitecore.ContentSearch.HierarchicalDataCrawler`1.CrawlItem(T indexable, IProviderUpdateContext
context, CrawlState`1 state)

Nested Exception

Exception: System.Net.WebException
Message: The remote server returned an error: (400) Bad Request.
Source: System
   at System.Net.HttpWebRequest.GetResponse()
   at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()
   at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)
   at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream
content, IEnumerable`1 parameters)

Thanks
Ritesh


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message