RE: 2 IDs in schema.xml
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/
Re: 2 IDs in schema.xml
On Jul 16, 2008, at 3:29 AM, dudes dudes wrote: and also I suppose it is not possible to have 2 schemas on one solr ? You can have multiple cores per Solr webapp (see MultiCore in the wiki). But each core has a single schema. Erik
RE: 2 IDs in schema.xml
thanks, I will have a try and for any technical issues I will bother you guys again :) ak From: [EMAIL PROTECTED] To: solr-user@lucene.apache.org Subject: Re: 2 IDs in schema.xml Date: Wed, 16 Jul 2008 04:50:18 -0400 On Jul 16, 2008, at 3:29 AM, dudes dudes wrote: and also I suppose it is not possible to have 2 schemas on one solr ? You can have multiple cores per Solr webapp (see MultiCore in the wiki). But each core has a single schema. Erik _ Find the best and worst places on the planet http://clk.atdmt.com/UKM/go/101719807/direct/01/
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 [EMAIL PROTECTED] 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.