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 <[email protected]> wrote: > From: Lance Norskog <[email protected]> > Subject: Re: Possible to have more than 1 uniqueKey fields in a document? > To: [email protected] > 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 <[email protected]> > wrote: > > Is it possible to define more than 1 uniqueKey fields > per document in schema.xml? > > > > > > > > > > > > -- > Lance Norskog > [email protected] >
