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 <apa...@elyograg.org> wrote: > 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 are often confused about which file is the correct one. > > The active schema file will be named either managed-schema or > schema.xml, depending on how solrconfig.xml is configured. The examples > in 5.5 and later use managed-schema exclusively. Before 5.5, it might > be either one, depending on which configset you used. > > If you're in SolrCloud mode, the active schema will live in zookeeper, > in the configuration linked to the collection. If you're not in cloud > mode, look for a "conf" directory inside the Instance directory that you > can see on the core overview page in the admin UI. That is where the > schema will live. > > Thanks, > Shawn >