Re: About editing managed-schema by hand

2017-03-20 Thread Shawn Heisey
On 3/20/2017 9:22 AM, Issei Nishigata wrote: > Is my understanding correct that managed-schema is not limited that it > can be modified only via Schema API, but that we usually modify it via > Schema API, and we also can modify what Schema API can't do by > hand-editing? Needless to say, I understa

Re: About editing managed-schema by hand

2017-03-20 Thread Issei Nishigata
Thank you for these information. but I am still confusing about specification of managed-schema. I recognize that I cannot modify "unique id" or "Similarity" by Schema API now. * https://issues.apache.org/jira/browse/SOLR-7242 Isn't there any other way than hand-editing in this particular case?

Re: About editing managed-schema by hand

2017-03-01 Thread Shawn Heisey
2/27/2017 4:46 AM, Issei Nishigata wrote: > Thank you for your reply. If I was to say which one, I'd maybe be > talking about the concept for Solr. I understand we should use > "ClassicSchemaFactory" when we want to hand-edit, but why are there > two files, schema.xml and managed-schema, in spite t

Re: About editing managed-schema by hand

2017-02-27 Thread Erick Erickson
see: https://cwiki.apache.org/confluence/display/solr/Schema+Factory+Definition+in+SolrConfig#SchemaFactoryDefinitioninSolrConfig-Switchingfromschema.xmltoManagedSchema bq: If we can modify the schema.xml through Schema API You can't do this by default, but if you insist you can change the Schem

Re: About editing managed-schema by hand

2017-02-27 Thread Issei Nishigata
Thank you for your reply. If I was to say which one, I'd maybe be talking about the concept for Solr. I understand we should use "ClassicSchemaFactory" when we want to hand-edit, but why are there two files, schema.xml and managed-schema, in spite that we can hand-edit managed-schema? If we can mo

Re: About editing managed-schema by hand

2017-02-26 Thread Erick Erickson
This is the sequence that gets you in trouble: > start solr > hand edit the schema _without_ reloading your collection or restarting all > your Solr instances. > use the managed-schema API to make modifications. In this scenario your hand-edits can be lost since the in-memory version of the schem

About editing managed-schema by hand

2017-02-26 Thread Issei Nishigata
Hi, All Similar questions may have been already asked, but just in case please let me ask you. According to the below URL it says as "Schema modifications via the Schema API will now be enabled by default.", but would there be any issues if I edited with text editor instead of Schema API? https:/