are fields stored or unstored by default xml
In schema.xml I know you can label a field as stored=false or stored=true, but if you say neither, which is it by default? Thank you Katie
Re: are fields stored or unstored by default xml
Haven't tried it recently, but is that even legal? Just be explicit :) Otis -- Solr ElasticSearch Support -- http://sematext.com/ Performance Monitoring -- http://sematext.com/spm On Mon, Jul 1, 2013 at 2:16 PM, Katie McCorkell katiemccork...@gmail.com wrote: In schema.xml I know you can label a field as stored=false or stored=true, but if you say neither, which is it by default? Thank you Katie
Re: are fields stored or unstored by default xml
stored and indexed both default to true. This is legal: field name=alpha type=string / This detail will be in Early Access Release #2 of my book on Friday. -- Jack Krupansky -Original Message- From: Otis Gospodnetic Sent: Monday, July 01, 2013 2:21 PM To: solr-user@lucene.apache.org Subject: Re: are fields stored or unstored by default xml Haven't tried it recently, but is that even legal? Just be explicit :) Otis -- Solr ElasticSearch Support -- http://sematext.com/ Performance Monitoring -- http://sematext.com/spm On Mon, Jul 1, 2013 at 2:16 PM, Katie McCorkell katiemccork...@gmail.com wrote: In schema.xml I know you can label a field as stored=false or stored=true, but if you say neither, which is it by default? Thank you Katie
Re: are fields stored or unstored by default xml
On Mon, Jul 1, 2013 at 3:50 PM, Jack Krupansky j...@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
Re: are fields stored or unstored by default xml
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 j...@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