Re: Proper way to manage managed-schema file

2020-04-13 Thread Alexandre Rafalovitch
If you are using API (which AdminUI does), the regenerated file will loose comments and sort everything in particular order. That's just the implementation at the moment. If you don't like that, you can always modify the schema file by hand and reload the core to notice the changes. You can even

Re: Proper way to manage managed-schema file

2020-04-06 Thread Jörn Franke
You can use the Solr rest services to do all those operations. https://lucene.apache.org/solr/guide/8_3/schema-api.html Normally in a productive environment you don’t use the UI but do all changes in a controlled automated fashion using the REST APIs. > Am 06.04.2020 um 20:11 schrieb TK

Proper way to manage managed-schema file

2020-04-06 Thread TK Solr
I am using Solr 8.3.1 in non-SolrCloud mode (what should I call this mode?) and modifying managed-schema. I noticed that Solr does override this file wiping out all my comments and rearranging the order. I noticed there is a "DO NOT EDIT" comment. Then, what is the proper/expected way to