I just don't want to suffer all the limitation a multiValued field has.. (it
does have some limitations, doesn't it?) I just remember I read somewhere
that it does.


On Wed, Jun 15, 2011 at 4:01 PM, Bob Sandiford <bob.sandif...@sirsidynix.com
> wrote:

> Oops - sorry - missed that...
>
> Well, the multiValued setting is explicitly to allow multiple values.
>
> So - what's your actual use case - i.e. why do you want multiple values in
> a field, but not want it to be multiValued?  What's the problem you're
> trying to solve here?
>
> Bob Sandiford | Lead Software Engineer | SirsiDynix
> P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com
> www.sirsidynix.com
>
>
> > -----Original Message-----
> > From: Omri Cohen [mailto:omri...@gmail.com]
> > Sent: Wednesday, June 15, 2011 8:42 AM
> > To: solr-user@lucene.apache.org
> > Subject: Re: Copying few field using copyField to non multiValued field
> >
> > thanks for the quick response, though as I said in my original post:
> >
> > *"some one has any idea, how I solve this without changing at_location
> > to
> > multiField? "*
> >
> > thank you very much though
> > *
> >
> > *
> >
> > *Omri Cohen*
> >
> >
> >
> > Co-founder @ yotpo.com | o...@yotpo.com | +972-50-7235198 | +972-3-
> > 6036295
> >
> >
> >
> >
> > My profiles: [image: LinkedIn] <http://www.linkedin.com/in/omric>
> > [image:
> > Twitter] <http://www.twitter.com/omricohe> [image:
> > WordPress]<http://omricohen.me>
> >  Please consider your environmental responsibility. Before printing
> > this
> > e-mail message, ask yourself whether you really need a hard copy.
> > IMPORTANT: The contents of this email and any attachments are
> > confidential.
> > They are intended for the named recipient(s) only. If you have received
> > this
> > email by mistake, please notify the sender immediately and do not
> > disclose
> > the contents to anyone or make copies thereof.
> > Signature powered by
> > <http://www.wisestamp.com/email-
> > install?utm_source=extension&utm_medium=email&utm_campaign=footer>
> > WiseStamp<http://www.wisestamp.com/email-
> > install?utm_source=extension&utm_medium=email&utm_campaign=footer>
> >
> >
> >
> > On Wed, Jun 15, 2011 at 3:21 PM, Bob Sandiford
> > <bob.sandif...@sirsidynix.com
> > > wrote:
> >
> > > Omri - you need to indicate to Solr that your at_location field can
> > accept
> > > multiple values.  Add this to the field declaration:
> > >
> > >        multiValued="true"
> > >
> > > See this reference for more information / options:
> > >
> > > http://wiki.apache.org/solr/SchemaXml
> > >
> > >
> > > Bob Sandiford | Lead Software Engineer | SirsiDynix
> > > P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com
> > > www.sirsidynix.com
> > >
> > >
> > > > -----Original Message-----
> > > > From: Omri Cohen [mailto:omri...@gmail.com]
> > > > Sent: Wednesday, June 15, 2011 8:00 AM
> > > > To: solr-user@lucene.apache.org
> > > > Subject: Copying few field using copyField to non multiValued field
> > > >
> > > > Hello all,
> > > >
> > > > in my schema.xml i have this fields:
> > > >
> > > >    <field name="at_location"               type="text"
> > indexed="index"
> > > > stored="true" required="false" />
> > > >    <field name="at_country"               type="text"
> > indexed="index"
> > > > stored="true" required="false" />
> > > >    <field name="at_city"                   type="text"
> > indexed="index"
> > > > stored="true" required="false" />
> > > >    <field name="at_state"               type="text" indexed="index"
> > > > stored="true" required="false" />.
> > > >
> > > > I am trying to do the following:
> > > >
> > > > <copyField source="at_city" dest="at_location"/>
> > > > <copyField source="at_state" dest="at_location"/>
> > > > <copyField source="at_country" dest="at_location"/>
> > > >
> > > > I am getting the next exception:
> > > >
> > > > ERROR: multiple values encountered for non multiValued copy field
> > > > at_location
> > > >
> > > > some one has any idea, how I solve this without changing
> > at_location to
> > > > multiField?
> > > >
> > > > thanks
> > > >
> > > > *Omri Cohen*
> > > >
> > > >
> > > >
> > > > Co-founder @ yotpo.com | o...@yotpo.com | +972-50-7235198 | +972-3-
> > > > 6036295
> > > >
> > > >
> > > >
> > > >
> > > > My profiles: [image: LinkedIn] <http://www.linkedin.com/in/omric>
> > > > [image:
> > > > Twitter] <http://www.twitter.com/omricohe> [image:
> > > > WordPress]<http://omricohen.me>
> > > >  Please consider your environmental responsibility. Before printing
> > > > this
> > > > e-mail message, ask yourself whether you really need a hard copy.
> > > > IMPORTANT: The contents of this email and any attachments are
> > > > confidential.
> > > > They are intended for the named recipient(s) only. If you have
> > received
> > > > this
> > > > email by mistake, please notify the sender immediately and do not
> > > > disclose
> > > > the contents to anyone or make copies thereof.
> > > > Signature powered by
> > > > <http://www.wisestamp.com/email-
> > > > install?utm_source=extension&utm_medium=email&utm_campaign=footer>
> > > > WiseStamp<http://www.wisestamp.com/email-
> > > > install?utm_source=extension&utm_medium=email&utm_campaign=footer>
> > >
> > >
>
>

Reply via email to