It is not clear what you are trying to achieve?
1) Disable schemaless mode to be more explicit about new fields? New
Solr has a switch for that. Older one, you can just disable the chain
invocation in solrconfig.xml
2) Stop schema being editing at all, whether schemaless or via API?
There is a flag in solrconfig.xml to make it immutable.
https://lucene.apache.org/solr/guide/7_5/schema-factory-definition-in-solrconfig.html
- this also has instructions that seem even more relevant to your
specific question.

Regards,
   Alex.

On Wed, 17 Oct 2018 at 07:36, Zahra Aminolroaya <z.aminolro...@gmail.com> wrote:
>
> I want to change my Solr from schemaless to classic schema.
>
> I read
> https://stackoverflow.com/questions/29819854/how-does-solrs-schema-less-feature-work-how-to-revert-it-to-classic-schema
> <https://stackoverflow.com/questions/29819854/how-does-solrs-schema-less-feature-work-how-to-revert-it-to-classic-schema>
> .
>
>
> What would be the challenges that I will confront with as my schemaless
> collection has some indexed documents in it?
>
> In solr 7, is commenting add-unknown-fields-to-the-schema the only
> difference between schemaless and classic schema?
>
>
> Best,
>
> Zahra
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to