Re: At which solr version was "Managed-schema" set as default?

2018-02-26 Thread Shawn Heisey
On 2/23/2018 10:40 AM, BlackIce wrote:
> My idea was, in order to avoid confusion, which has been arising when
> people start to modify schema.xml,... is to set Solr back into
> "schema-mode" by having the user issue a command like SED or AWK in order
> to add the corresponding command line into solrconfig.xml before creating
> the core along with a friendly reminder that this is just a "quick-start"
> and to study the solr documentation for a more complex set-up.

On my dev server, which is the only one running a version new enough for
this to be a concern, I'm letting Solr have its default.  I still make
manual edits, I just do it to a managed-schema file instead of schema.xml.

I have never used the Schema API that becomes possible with the managed
schema.  But even though I'm not using that functionality, I let Solr
have its default.  At some point the classic schema may get removed, and
I want to already have a config that works, if that day should come.

Thanks,
Shawn



Re: At which solr version was "Managed-schema" set as default?

2018-02-23 Thread BlackIce
Thank you,

at the current Nutch documentation for Nutch 14 which is build against Solr
6.6.x, it states to delete the "managed-schema.xml" and provide the Nutch
specific schema.xml and THEN create the core.

This works, it creates the core with all nutch specific fields, but solr
then automatically reverts to the managed-schema.. which also works.

This is all part of a quick-start tutorial...

My idea was, in order to avoid confusion, which has been arising when
people start to modify schema.xml,... is to set Solr back into
"schema-mode" by having the user issue a command like SED or AWK in order
to add the corresponding command line into solrconfig.xml before creating
the core along with a friendly reminder that this is just a "quick-start"
and to study the solr documentation for a more complex set-up.

Any thoughts and suggestions are greatly apreciated!

RRK

On Fri, Feb 23, 2018 at 5:51 PM, Shawn Heisey  wrote:

> On 2/23/2018 6:23 AM, BlackIce wrote:
>
>> I'm reworking some documentation for the Nutch project, and for the sake
>> of
>> correctness and completness could someone tell me at which version did
>> Solr
>> switch over to the "managed-Schema" by default?
>>
>
> It was version 5.5.
>
> In the versions before that, the primary example configset had been
> running managed-schema for a number of minor versions. It was explicitly
> stated in the configuration.
>
> In the latest version, all example configsets are managed-schema, but the
> techproducts example does NOT have the update processor that automatically
> adds unknown fields.
>
> Thanks,
> Shawn
>
>


Re: At which solr version was "Managed-schema" set as default?

2018-02-23 Thread Shawn Heisey

On 2/23/2018 6:23 AM, BlackIce wrote:

I'm reworking some documentation for the Nutch project, and for the sake of
correctness and completness could someone tell me at which version did Solr
switch over to the "managed-Schema" by default?


It was version 5.5.

In the versions before that, the primary example configset had been 
running managed-schema for a number of minor versions. It was explicitly 
stated in the configuration.


In the latest version, all example configsets are managed-schema, but 
the techproducts example does NOT have the update processor that 
automatically adds unknown fields.


Thanks,
Shawn