Re: Solr - Error when trying to index the date field.

2016-06-14 Thread Erick Erickson
BTW, the easiest way to check what schema file you are _actually_ using is through the admin UI. Select a core, go to files>>and click on the schema file in question Best, Erick On Tue, Jun 14, 2016 at 5:53 AM, Shawn Heisey wrote: > On 6/14/2016 6:09 AM, Syedabbasmehdi

Re: Solr - Error when trying to index the date field.

2016-06-14 Thread Shawn Heisey
On 6/14/2016 6:09 AM, Syedabbasmehdi Rizvi wrote: > Schema file has a field called timestamp of type date. Still it shows > that error. Did you restart Solr or reload the core/collection after modifying the schema? Are you absolutely sure that you are looking at the active schema file? Users

RE: Solr - Error when trying to index the date field.

2016-06-14 Thread Syedabbasmehdi Rizvi
Schema file has a field called timestamp of type date. Still it shows that error. -Original Message- From: Erik Hatcher [mailto:erik.hatc...@gmail.com] Sent: Tuesday, June 14, 2016 5:31 PM To: solr-user@lucene.apache.org Subject: Re: Solr - Error when trying to index the date field

Re: Solr - Error when trying to index the date field.

2016-06-14 Thread Erik Hatcher
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 > wrote: > > Hi, > > I am trying to index a CSV file that contains a date field.