I had a similar problem with three sources of keys that have collisions
between the values. I prefix a single letter for each source.
movies: M12345
people: P12345
and so on.
wunder
On 11/13/07 12:37 PM, "Will Johnson" <[EMAIL PROTECTED]> wrote:
> key = sometimesUniqueField + "_" + otherTimesU
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
key = sometimesUniqueField + "_" + 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.apache.org
Subject: Multiple un
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
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. So I thought about also
storring the table name, which should make it unique.
key
Is this a
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 you have multiple