oh right.... so the uniquekey is used by Solr to do internal house keeping ?  

and also I suppose it is not possible to have 2 schemas on one solr  ? 

thnx
ak
----------------------------------------
> Date: Wed, 16 Jul 2008 03:07:41 +0530
> From: [EMAIL PROTECTED]
> To: solr-user@lucene.apache.org
> Subject: Re: 2 IDs in schema.xml
> 
> Multiple uniqueKeys are not supported. You must use only one field as the
> uniqueKey.
> 
> On Tue, Jul 15, 2008 at 11:52 PM, dudes dudes  wrote:
> 
>>
>> Hi
>>
>> With some strange reason hotmail doesn't send any XML tags through. I have
>> attached a file with all the necessary xml tags there , thanks :)
>>
>> I have a rare situation and I'm not too sure how to resolve it.
>>  I have defined 2 fields.. one is call userID and the other one is called
>> companyID in schema.xml file.... Please see part 1 of the attached xml file.
>>
>>
>> Then I have both of them fields specified as uniquekeys . PLease see part 2
>> of the attached document.
>>
>>
>> when I try to post a test6.xml ( ie java -jar post.jar test6.xml) it gives
>> me the following error:
>>
>> SimplePostTool:FATAL:Solr returned an error:
>> Document_null_missing_required_field_userID
>>
>> However; if I replace CompanyID with userID under test6.xml file, it
>> commits without any problems.
>>
>> any thoughts about this ?
>>
>> Many thanks to all
>> ak
>>
>>
>> _________________________________________________________________
>> The John Lewis Clearance - save up to 50% with FREE delivery
>> http://clk.atdmt.com/UKM/go/101719806/direct/01/
> 
> 
> 
> 
> -- 
> Regards,
> Shalin Shekhar Mangar.

_________________________________________________________________
The John Lewis Clearance - save up to 50% with FREE delivery
http://clk.atdmt.com/UKM/go/101719806/direct/01/

Reply via email to