Re: Merging Solr index

2008-04-05 Thread Yonik Seeley
On Sat, Apr 5, 2008 at 6:27 PM, Norskog, Lance <[EMAIL PROTECTED]> wrote: > Where is this in Lucene? Is it the > default? I don't remember Lucene having the notion of a unique id > (primary key). It hasn't been around too long. IndexWriter.updateDocument(Term term, Document doc) > In this mer

RE: Merging Solr index

2008-04-05 Thread Chris Hostetter
: I have learned Solr as a power user and written a couple of simple : filters. I'm not a Lucene heavy. Where is this in Lucene? Is it the : default? I don't remember Lucene having the notion of a unique id : (primary key). I can't answer that question (because Yonik's answer suprised me too) bu

RE: Merging Solr index

2008-04-05 Thread Norskog, Lance
e.printStackTrace(); } Thanks, Lance Norskog -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik Seeley Sent: Saturday, April 05, 2008 2:37 PM To: solr-user@lucene.apache.org Cc: Norskog, Lance Subject: Re: Merging Solr index On Fri, A

Re: Merging Solr index

2008-04-05 Thread Yonik Seeley
On Fri, Apr 4, 2008 at 6:26 PM, Norskog, Lance <[EMAIL PROTECTED]> wrote: > http://wiki.apache.org/solr/MergingSolrIndexes recommends using the > Lucene contributed app IndexMergeTool to merge two Solr indexes. What > happens if both indexes have records with the same unique key? Will they > bo

Merging Solr index

2008-04-04 Thread Norskog, Lance
Hi- http://wiki.apache.org/solr/MergingSolrIndexes recommends using the Lucene contributed app IndexMergeTool to merge two Solr indexes. What happens if both indexes have records with the same unique key? Will they both go into the new index? Is the implementation of unique IDs in the Solr java