But what is your schema version? See the top of schema.xml. On Nov 14, 2012, at 4:17, Peter Kirk <p...@alpha-solutions.dk> wrote:
> Hi > > Thanks for the reply. It is strange, because when I index to a field defined > like: > > <dynamicField indexed="true" > name="*_string" > stored="true" > type="string" /> > > Then the results I receive are like: > > <arr name="category_string"> > <str>Woodland</str> > </arr> > > Which seems to indicate a multivalued field. > > If I change the field definition, so I explicitly say multivalued is false: > > <dynamicField indexed="true" > name="*_string" > stored="true" > type="string" > multivalued="false" /> > > Then the result is like: > > <str name="category_string">Woodland</str> > > > /Peter > > > > -----Original Message----- > From: Jeevanandam Madanagopal [mailto:je...@myjeeva.com] > Sent: 14. november 2012 10:11 > To: solr-user@lucene.apache.org > Subject: Re: Multivalued or not > > Hello Peter - > > In Solr 3.6 multiValued is false by default. > > Since Schema version 1.1 onwards multiValued attribute value is false by > default (<field ...>, <dynamicField ...>, <fieldType ...>) > > -Jeeva > Blog: http://www.myjeeva.com > > > On Nov 14, 2012, at 2:04 PM, Peter Kirk <p...@alpha-solutions.dk> wrote: > >> Hi >> >> In Solr 3.6, is multivalued for fields, default true or false? >> >> It appears that it is default false for normal fields, and default true for >> dynamic fields - is that correct? >> >> Thanks, >> Peter >> >> >> > >