Re: dynamically create unique key

2012-04-30 Thread solr_noob
your 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.

Re: dynamically create unique key

2010-11-09 Thread Lance Norskog
any updates or reinstalls would reuse the same > installation/instance ID. > > > > From: Christopher Gross > 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

Re: dynamically create unique key

2010-11-09 Thread Dennis Gearon
be it should be written to the config file upon first run when it does not exist, and then any updates or reinstalls would reuse the same installation/instance ID. From: Christopher Gross To: solr-user@lucene.apache.org Sent: Tue, November 9, 2010 11:37:03 AM Subject: Re: dynamically create uniqu

Re: dynamically create unique key

2010-11-09 Thread Christopher Gross
Thanks Hoss, I'll look into that! -- Chris On Tue, Nov 9, 2010 at 1:43 PM, Chris Hostetter wrote: > > : 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 c

Re: dynamically create unique key

2010-11-09 Thread Chris Hostetter
: 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: "sysa

Re: dynamically create unique key

2010-11-09 Thread Ken Stanley
On Tue, Nov 9, 2010 at 10:53 AM, Christopher Gross 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 handle it on my

Re: dynamically create unique key

2010-11-09 Thread Christopher Gross
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 mys

Re: dynamically create unique key

2010-11-09 Thread Ken Stanley
On Tue, Nov 9, 2010 at 10:39 AM, Christopher Gross 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 document > with

dynamically create unique key

2010-11-09 Thread Christopher Gross
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 c