I'm still a bit confused. Can I define 2 "uniqueKey" fields in schema.xml?
I want to use 2 outside apps. One define a uniqueKey that is a mix of alphabets and numbers. Another app requires a uniqueKey of the type long. Obviously the 2 requirements aren't compatible. I'm trying to see if it's possible to define 2 uniqueKeys so each app could have its own one. --- On Sat, 8/21/10, Lance Norskog <goks...@gmail.com> wrote: > From: Lance Norskog <goks...@gmail.com> > Subject: Re: Possible to have more than 1 uniqueKey fields in a document? > To: solr-user@lucene.apache.org > Date: Saturday, August 21, 2010, 5:23 PM > There can be as many as you want. Buy > you can only specify one as "the > uniqueKey". That is used for Distributed Search and > deduplication. > > Indexing might work better if you concatenate the different > unique > values into one field. > > On Sat, Aug 21, 2010 at 3:27 AM, Andy <angelf...@yahoo.com> > wrote: > > Is it possible to define more than 1 uniqueKey fields > per document in schema.xml? > > > > > > > > > > > > -- > Lance Norskog > goks...@gmail.com >