Hi,

I'm using SolrCloud 6.0 with a managed schema. When I add fields using
SolrJ and immediately afterwards try to index data I sometimes get an
error telling me that a field that I just added does not exist. If I do
an explicit collection reload after the schema modification things seem
to work. Is that works as designed?

According to https://cwiki.apache.org/confluence/display/solr/Schema+API
a core reload will happen automatically when using the schema API: "When
modifying the schema with the API, a core reload will automatically
occur in order for the changes to be available immediately for documents
indexed thereafter."

regards,
Hendrik

Reply via email to