Thank you.

So, the conclusion to me is that @name can be skipped. It is not used in
anything (or anything critical anyway) and there is a default. That's good
enough for me.

On another hand, having @version default to 1.0 is probably an oversight,
given the number of changes present.... Should it not default to latest or
at least to 1.5 (and change periodically)?

Regards,
   Alex.

Personal blog: http://blog.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening all at
once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD book)


On Fri, Dec 21, 2012 at 7:50 AM, Jack Krupansky <j...@basetechnology.com>wrote:

> Yeah... not sure how I missed it, but my search sees it now.
>
> Also, the name will default to "schema.xml" is you do leave it out of the
> schema.
>
> -- Jack Krupansky
>
> -----Original Message----- From: Mikhail Khludnev
> Sent: Thursday, December 20, 2012 3:06 PM
> To: solr-user
> Subject: Re: Where does schema.xml's schema/@name displays?
>
>
> Jack,
> FWIW I've found occurrence in SystemInfoHandler.java
>
>
> On Thu, Dec 20, 2012 at 6:32 PM, Jack Krupansky <j...@basetechnology.com>*
> *wrote:
>
>  I checked the 4.x source code and except for the fact that you will get a
>> warning if you leave it out, nothing uses that name. But... that's not to
>> say that a future release might not require it - the doc/comments don't
>> explicitly say that it is optional.
>>
>> Note that the version attribute is optional (as per the source code, but
>> no mention in doc/comments) and defaults to 1.0, with no warning.
>>
>> -- Jack Krupansky
>>
>>
>> -----Original Message----- From: Alexandre Rafalovitch
>> Sent: Thursday, December 20, 2012 12:08 AM
>> To: solr-user@lucene.apache.org
>> Subject: Where does schema.xml's schema/@name displays?
>>
>> Hello,
>>
>> In the schema.xml, we have a name attribute on the root note. The
>> documentation says it is for display purpose only. But for display where?
>>
>> It seems that the admin console uses the name in the solr.xml file
>> instead.
>> And deleting the name attribute does not seem to cause any problems
>> either.
>>
>> The reason I ask is because I am writing an explanation example which
>> involves schema.xml config file being copied and modified over and over
>> again. If @name is significant, I need to mention changing it. If not, I
>> will just delete it all together.
>>
>> Regards,
>>   Alex.
>>
>>
>> Personal blog: http://blog.outerthoughts.com/
>> LinkedIn: 
>> http://www.linkedin.com/in/****alexandrerafalovitch<http://www.linkedin.com/in/**alexandrerafalovitch>
>> <http://**www.linkedin.com/in/**alexandrerafalovitch<http://www.linkedin.com/in/alexandrerafalovitch>
>> >
>> - Time is the quality of nature that keeps events from happening all at
>> once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD book)
>>
>>
>
>
> --
> Sincerely yours
> Mikhail Khludnev
> Principal Engineer,
> Grid Dynamics
>
> <http://www.griddynamics.com>
> <mkhlud...@griddynamics.com>
>

Reply via email to