Hi Steve,

From 
<https://cwiki.apache.org/confluence/display/solr/Field+Type+Definitions+and+Properties>:

> The properties that can be specified for a given field type fall into
> three major categories:
>   • Properties specific to the field type's class.
>   • General Properties Solr supports for any field type.
>   • Field Default Properties that can be specified on the field type
>     that will be inherited by fields that use this type instead of
>     the default behavior.

“indexed” and “stored” are among the Field Default Properties listed as 
specifiable on <fieldType>-s.

<field> properties override <fieldType> properties, not the reverse.

Steve

> On Apr 28, 2015, at 9:25 AM, Steven White <swhite4...@gmail.com> wrote:
> 
> Hi Everyone,
> 
> Looking at the out-of-the box schema.xml of Solr 5.1, I see this:
> 
>    <fieldType name="payloads" stored="false" indexed="true"
> class="solr.TextField" >
>      <analyzer>
> 
> Is it valid to have "stored" and "indexed" on <fieldType/>?  My
> understanding is that those are on <field/> only.  If not, is the value in
> <fieldType/> overrides what's in <field/>?
> 
> Thanks
> 
> Steve

Reply via email to