lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: are fields stored or unstored by default xml
Date Mon, 01 Jul 2013 20:14:23 GMT
Correct - the field definitions inherit the attributes of the field type, 
and it is the field type that has the actual default values for indexed and 
stored (and other attributes.)

-- Jack Krupansky

-----Original Message----- 
From: Yonik Seeley
Sent: Monday, July 01, 2013 3:56 PM
To: solr-user@lucene.apache.org
Subject: Re: are fields stored or unstored by default xml

On Mon, Jul 1, 2013 at 3:50 PM, Jack Krupansky <jack@basetechnology.com> 
wrote:
> "stored" and "indexed" both default to "true".
>
> This is legal:
>
>    <field name="alpha" type="string" />

Actually, for fields I believe the defaults come from the fieldType.
The fieldType defaults to true for both indexed and stored if they are
not specified there.

-Yonik
http://lucidworks.com 


Mime
View raw message