You apparently don’t have a `timestamp` field defined in your schema. The error message is:
unknown field ‘timestamp’ > On Jun 14, 2016, at 5:18 AM, Syedabbasmehdi Rizvi <syedabbasmehd...@hcl.com> > wrote: > > Hi, > > I am trying to index a CSV file that contains a date field. I have the date > field configured in schema and config.xml > But somehow, it shows an error when I try to index this file which says: > > SimplePostTool version 5.0.0 > Posting files to [base] url http://localhost:8983/solr/polycom/update using > content-type text/csv... > POSTing file book1.csv to [base] > SimplePostTool: WARNING: Solr returned an error #400 (Bad Request) for url: > http > ://localhost:8983/solr/polycom/update > SimplePostTool: WARNING: Response: <?xml version="1.0" encoding="UTF-8"?> > <response> > <lst name="responseHeader"><int name="status">400</int><int > name="QTime">2</int> > </lst><lst name="error"><lst name="metadata"><str > name="error-class">org.apache. > solr.common.SolrException</str><str > name="root-error-class">org.apache.solr.comm > on.SolrException</str></lst><str name="msg">ERROR: [doc=552998] unknown field > 't > imestamp'</str><int name="code">400</int></lst> > </response> > SimplePostTool: WARNING: IOException while reading response: > java.io.IOException > : Server returned HTTP response code: 400 for URL: > http://localhost:8983/solr/po > lycom/update > > A help would really be very useful. Kindly share the steps to do so if > possible. > > Regards > Abbas > > > ::DISCLAIMER:: > ---------------------------------------------------------------------------------------------------------------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only. > E-mail transmission is not guaranteed to be secure or error-free as > information could be intercepted, corrupted, > lost, destroyed, arrive late or incomplete, or may contain viruses in > transmission. The e mail and its contents > (with or without referred errors) shall therefore not attach any liability on > the originator or HCL or its affiliates. > Views or opinions, if any, presented in this email are solely those of the > author and may not necessarily reflect the > views or opinions of HCL or its affiliates. Any form of reproduction, > dissemination, copying, disclosure, modification, > distribution and / or publication of this message without the prior written > consent of authorized representative of > HCL is strictly prohibited. If you have received this email in error please > delete it and notify the sender immediately. > Before opening any email and/or attachments, please check them for viruses > and other defects. > > ----------------------------------------------------------------------------------------------------------------------------------------------------