Re: Multiple uniqueKey fields

2007-11-13 Thread Walter Underwood
ometimesUniqueField + "_" + otherTimesUniqueuField; > > If one of them is always guaranteed to be unique you should be fine. > > - will > > -Original Message- > From: Dave C. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 13, 2007 2:07 PM > To: solr-user@lucene.ap

RE: Multiple uniqueKey fields

2007-11-13 Thread Dave C .
Thanks, I thought of this shortly after I posted the question! - david > From: [EMAIL PROTECTED] > To: solr-user@lucene.apache.org > Subject: RE: Multiple uniqueKey fields > Date: Tue, 13 Nov 2007 15:37:46 -0500 > > key = sometimesUniqueField + "_" + otherTimes

RE: Multiple uniqueKey fields

2007-11-13 Thread Will Johnson
: Multiple uniqueKey fields Hello, I just started using Solr and have a question regarding unique keys. Is it somehow possible to specify more than 1 unique key? The problem is, some of my indexed data has one particular unique field, while other data does not have this field at all and uses another

Multiple uniqueKey fields

2007-11-13 Thread Dave C .
Hello, I just started using Solr and have a question regarding unique keys. Is it somehow possible to specify more than 1 unique key? The problem is, some of my indexed data has one particular unique field, while other data does not have this field at all and uses another field for unique-ness. An

Re: Multiple uniqueKey fields

2006-05-22 Thread Yonik Seeley
On 5/22/06, Nick Snels <[EMAIL PROTECTED]> wrote: Thanks for the answer. I don't quit get how to make a compound key (but I'll give it a try). I have multiple tables with an id, but if I put all of them in a Solr index, the id isn't a unique field. You have the "different type of documents in t

Re: Multiple uniqueKey fields

2006-05-22 Thread Nick Snels
key Is this a reasonable configuration? Kind regards, Nick Snels On 5/22/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 5/22/06, Nick Snels <[EMAIL PROTECTED]> wrote: > is it possible to define multiple uniqueKey fields in schema.xml? Not currently, as one can normally get by

Re: Multiple uniqueKey fields

2006-05-22 Thread Yonik Seeley
On 5/22/06, Nick Snels <[EMAIL PROTECTED]> wrote: is it possible to define multiple uniqueKey fields in schema.xml? Not currently, as one can normally get by with a single uniqueKey field. If you have multiple unique key fields on each document you can make a compound key. If yo

Multiple uniqueKey fields

2006-05-22 Thread Nick Snels
Hi, is it possible to define multiple uniqueKey fields in schema.xml? Kind regards, Nick Snels