solution?
thanks for your input/help
--
View this message in context:
http://lucene.472066.n3.nabble.com/dynamically-create-unique-key-tp1869924p3951857.html
Sent from the Solr - User mailing list archive at Nabble.com.
I'm trying to use Solr to store information from a few different sources in
one large index. I need to create a unique key for the Solr index that will
be unique per document. If I have 3 systems, and they all have a document
with id=1, then I need to create a uniqueId field in my schema that
On Tue, Nov 9, 2010 at 10:39 AM, Christopher Gross cogr...@gmail.com wrote:
I'm trying to use Solr to store information from a few different sources in
one large index. I need to create a unique key for the Solr index that will
be unique per document. If I have 3 systems, and they all have a
Thanks Ken.
I'm using a script with Java/SolrJ to copy documents from their original
locations into the Solr Index.
I wasn't sure if the copyField would help me, but from your answers it seems
that I'll have to handle it on my own. That's fine -- it is definitely not
hard to pass a new field
On Tue, Nov 9, 2010 at 10:53 AM, Christopher Gross cogr...@gmail.com wrote:
Thanks Ken.
I'm using a script with Java/SolrJ to copy documents from their original
locations into the Solr Index.
I wasn't sure if the copyField would help me, but from your answers it seems
that I'll have to
: one large index. I need to create a unique key for the Solr index that will
: be unique per document. If I have 3 systems, and they all have a document
: with id=1, then I need to create a uniqueId field in my schema that
: contains both the system name and that id, along the lines of: sysa1,
Thanks Hoss, I'll look into that!
-- Chris
On Tue, Nov 9, 2010 at 1:43 PM, Chris Hostetter hossman_luc...@fucit.orgwrote:
: one large index. I need to create a unique key for the Solr index that
will
: be unique per document. If I have 3 systems, and they all have a
document
: with
create unique key
Thanks Hoss, I'll look into that!
-- Chris
On Tue, Nov 9, 2010 at 1:43 PM, Chris Hostetter hossman_luc...@fucit.orgwrote:
: one large index. I need to create a unique key for the Solr index that
will
: be unique per document. If I have 3 systems, and they all have
or reinstalls would reuse the same
installation/instance ID.
From: Christopher Gross cogr...@gmail.com
To: solr-user@lucene.apache.org
Sent: Tue, November 9, 2010 11:37:03 AM
Subject: Re: dynamically create unique key
Thanks Hoss, I'll look into that!
-- Chris
On Tue, Nov 9, 2010 at 1:43 PM