Just set up your schema with a "string" multivalued field...
On Wed, Apr 13, 2011 at 12:47 AM, shrinath.m <shrinat...@webyog.com> wrote: > For example, I am storing email ids of a person. If the person has 3 email > ids, I want to store them as > email = 'x...@whatever.com' > email = 'a...@blah.com' > email = 'p...@moreblah.com' > > How can we do this ? > > > I know someone will come up with "why don't you store it like email1, > email2, email3 and so on ? " > If we did that, then while updating and searching, we'd need to know how > many email fields are there before doing the transaction. I want to avoid > any such thing. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Is-it-possible-to-create-a-duplicate-field-tp2815029p2815029.html > Sent from the Solr - User mailing list archive at Nabble.com. >