On 10/11/2018 10:07 AM, Mikhail Ibraheem wrote:
Hi Erick,Thanks for your reply.No, we aren't using schemaless mode.
<schemaFactory/> is not explicitly declared in our solrconfig.xml
Schemaless mode is not turned on by the schemaFactory config element.
The default configurations that Solr ships with have schemaless mode
enabled. It is handled with an update processor chain named
add-unknown-fields-to-the-schema. As Erick mentioned, we *STRONGLY*
recommend that you disable this in production. In version 7.5, you only
need to change whether that update chain is set to the default chain.
This can be handled with a property (update.autoCreateFields) but you
can just also edit solrconfig.xml to change the "default" attribute to
false.
The exception you're getting is
org.apache.zookeeper.KeeperException$BadVersionException which comes
from zookeeper. Can you share the *entire* error? It will likely be a
few dozen lines in length and may contain multiple "Caused by" sections,
each with their own stacktrace. With the entire error, we can narrow
down what part of Solr code is executing when the error happens.
Thanks,
Shawn