On Mon, Aug 10, 2009 at 2:05 PM, Ninad Raut <hbase.user.ni...@gmail.com>wrote:

> Hi,
> I have two Ids DocumentId and AuthorId. I want both of them unique. Can i
> have two <uniqueKey> in my document?
>  <uniqueKey>id</uniqueKey>
>  <uniqueKey>authorId</uniqueKey>
>

No. You can have only one uniqueKey in solrconfig.xml. But during indexing
you can create the uniqueKey value as "id-authorid".

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to