On 3/31/2016 1:24 PM, Girish Tavag wrote: > I copied the entire file schema.xml from the working example provided by > solr itself. Solr provided dih example i'm able to run successfully .How > could this be a problem?
This info is exactly the same as what Binoy told you, except that I am including example config info. In your schema, you've got at least one field definition that looks like this -- with the type attribute set to "booleans": <field name="somefield" type="booleans" indexed="true" stored="true"/> But you do NOT have a fieldType definition named "booleans" in your schema, which would look something like this: <fieldType name="booleans" class="solr.BoolField" sortMissingLast="true" omitNorms="true"/> The example schemas included with Solr have a fieldType named "boolean". For this reason, if you were to simply replace "booleans" with "boolean" in your schema, I think this problem will go away. Note: If you are running Solr in cloud mode, the active config will be stored in the zookeeper database. Editing the schema on the disk won't be enough, you'll need to upload your changes to zookeeper. Thanks, Shawn